mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update dmrgw.sh
This commit is contained in:
parent
0b359487c1
commit
d84193fa01
|
|
@ -17,16 +17,18 @@ Description=DMRGateway Service
|
|||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
WorkingDirectory=/opt/DMRGateway
|
||||
ExecStartPre=/bin/sleep 15
|
||||
#ExecStartPre=/bin/sleep 15
|
||||
ExecStart=/usr/local/bin/DMRGateway /opt/DMRGateway/DMRGateway.ini
|
||||
ExecStop=/usr/bin/screen -S DMRGateway -X quit
|
||||
|
||||
Restart=on-failure
|
||||
#ExecStop=/usr/bin/screen -S DMRGateway -X quit
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue