更新 cns.sh
This commit is contained in:
parent
3884eea28b
commit
0bf5960a7a
1 changed files with 1 additions and 0 deletions
1
cns.sh
1
cns.sh
|
|
@ -106,6 +106,7 @@ InstallFiles() {
|
||||||
chmod +rwx /lib/systemd/system/cns.service
|
chmod +rwx /lib/systemd/system/cns.service
|
||||||
sed -i "s~\[cns_install_dir\]~$cns_install_dir~g" /lib/systemd/system/cns.service
|
sed -i "s~\[cns_install_dir\]~$cns_install_dir~g" /lib/systemd/system/cns.service
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
systemctl enable cns.service
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue