[Unit] Description=NXDN Gateway Service # Description=Place this file in /lib/systemd/system # Description=N4IRS 01/17/2020 After=netcheck.service Requires=netcheck.service [Service] Type=simple Restart=on-failure RestartPreventExitStatus=SEGV RestartSec=3 StandardOutput=null WorkingDirectory=/opt/NXDNGateway ExecStartPre = /bin/sh -c 'echo "Starting NXDNGateway: [`date +%%T.%%3N`]" >> /var/log/netcheck' ExecStart=/opt/NXDNGateway/NXDNGateway /opt/NXDNGateway/NXDNGateway.ini ExecReload=/bin/kill -HUP $MAINPID KillMode=process [Install] WantedBy=multi-user.target