mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-12 01:40:30 +08:00
feat: add service config templates and extraction script
Former-commit-id: 1de24b7eb79676d1aba9d799a58c5a753290cf52
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=The cw-elevator-application-V1.0.0.20211103 server
|
||||
After=network.target remote-fs.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
PIDFile=/run/cw-elevator-application-V1.0.0.20211103.pid
|
||||
ExecStartPre=/bin/rm -f /run/cw-elevator-application-V1.0.0.20211103.pid
|
||||
ExecStart=/bin/bash /data/cwos/cw-elevator-application-V1.0.0.20211103/start.sh
|
||||
ExecStop=/bin/bash /data/cwos/cw-elevator-application-V1.0.0.20211103/stop.sh
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
KillSignal=SIGQUIT
|
||||
TimeoutStopSec=5
|
||||
KillMode=process
|
||||
PrivateTmp=true
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=null
|
||||
StandardError=null
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user