mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update ysfgateway2.sh
This commit is contained in:
parent
1e39b0e83c
commit
6dbbeb624a
|
|
@ -33,19 +33,19 @@ cat > /lib/systemd/system/ysfgw.service <<- "EOF"
|
|||
Description=YSF Gateway 2 Service
|
||||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 01/17/2020
|
||||
|
||||
After=mmdvmh.service
|
||||
#After=netcheck.service
|
||||
#Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
WorkingDirectory=/opt/YSFGateway2
|
||||
ExecStart=/opt/YSFGateway2/YSFGateway /opt/YSFGateway2/YSFGateway.ini
|
||||
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Reference in New Issue