上传新文件
This commit is contained in:
parent
5f22b75459
commit
fbcdf9145f
1 changed files with 16 additions and 0 deletions
16
cns.service
Normal file
16
cns.service
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
[Unit]
|
||||||
|
Description=cns
|
||||||
|
Documentation=https://github.com/mmmdbybyd/CNS/
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
PIDFile=[cns_install_dir]/run.pid
|
||||||
|
ExecStart=[cns_install_dir]/cns.init systemdStart
|
||||||
|
ExecReload=[cns_install_dir]/cns.init systemdRestart
|
||||||
|
ExecStop=[cns_install_dir]/cns.init stop
|
||||||
|
PrivateTmp=true
|
||||||
|
KillMode=control-group
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue