Restart correct service
This commit is contained in:
parent
df8fdc37cc
commit
05669ea4cd
3
setup.sh
3
setup.sh
@ -292,7 +292,8 @@ for svc in ${SERVICES[@]}; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
$HOME/$PRINTER_NAME/moonraker/scripts/set-policykit-rules.sh
|
$HOME/$PRINTER_NAME/moonraker/scripts/set-policykit-rules.sh -z
|
||||||
|
sudo systemctl restart $PRINTER_NAME-moonraker.service
|
||||||
echo.BoldCyan "${PRINTER_NAME} is setup with moonraker on port ${NEW_PORT}"
|
echo.BoldCyan "${PRINTER_NAME} is setup with moonraker on port ${NEW_PORT}"
|
||||||
sudo nginx -t
|
sudo nginx -t
|
||||||
if [ ! -f /etc/nginx/sites-enabled/site.conf ]; then
|
if [ ! -f /etc/nginx/sites-enabled/site.conf ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user