From 6dbbeb624ac41e5cb4df03cc5728c2ca47ee50ce Mon Sep 17 00:00:00 2001 From: RaspbianProyect by HP3ICC Date: Tue, 6 Jun 2023 18:24:53 +0000 Subject: [PATCH] Update ysfgateway2.sh --- install/ysfgateway2.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/install/ysfgateway2.sh b/install/ysfgateway2.sh index 1fadb7e..fb66126 100644 --- a/install/ysfgateway2.sh +++ b/install/ysfgateway2.sh @@ -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