diff --git a/cns.sh b/cns.sh index ed22c00..d750b69 100644 --- a/cns.sh +++ b/cns.sh @@ -106,6 +106,7 @@ InstallFiles() { chmod +rwx /lib/systemd/system/cns.service sed -i "s~\[cns_install_dir\]~$cns_install_dir~g" /lib/systemd/system/cns.service systemctl daemon-reload + systemctl enable cns.service fi }