Update ircddbgatewayd.service

This commit is contained in:
Esteban Mackay Q 2022-07-27 22:01:42 -05:00 committed by GitHub
parent c2948bb414
commit 37d6371691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -3,20 +3,16 @@ Description=D-Star Gateway Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 01/17/2020
#After=netcheck.service
#Requires=netcheck.service
[Service]
User=root
Type=simple
Restart=always
RestartSec=3
StandardOutput=null
# WorkingDirectory=
#ExecStartPre = /bin/sh -c 'echo "Starting ircDDBGateway: [`date +%%T.%%3N`]" >> /var/log/netcheck'
ExecStartPre=/bin/sh -c 'until ping -c1 noip.com; do sleep 1; done;'
ExecStart=/usr/bin/ircddbgatewayd -logdir:/var/log/ircddbgateway
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target