Update ysfgateway2.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-06-06 18:24:53 +00:00
parent 1e39b0e83c
commit 6dbbeb624a
1 changed files with 7 additions and 7 deletions

View File

@ -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