diff --git a/update.sh b/update.sh index 67ffa10..4f2d5fb 100755 --- a/update.sh +++ b/update.sh @@ -29,4 +29,5 @@ sleep 5 for service in ${services};do reportWarning "Restarting ${service}" service ${service} restart + [[ -f /etc/systemd/system/${service}.service ]] || systemctl enable ${service} done \ No newline at end of file