enable service on every boot

This commit is contained in:
AJ ONeal 2017-04-20 23:50:59 -06:00
parent 7f597eb68e
commit 2f6c027ef5
1 changed files with 1 additions and 0 deletions

View File

@ -379,6 +379,7 @@ CADDY_EOF
$sudo_cmd systemctl stop caddy.service >/dev/null 2>/dev/null
$sudo_cmd systemctl daemon-reload
$sudo_cmd systemctl start caddy.service
$sudo_cmd systemctl enable caddy.service
echo "caddy started with systemctl"