mirror of https://gitlab.com/hp3icc/emq-TE1.git
24 lines
424 B
SYSTEMD
24 lines
424 B
SYSTEMD
[Unit]
|
|
Description=NXDN Gateway Service
|
|
# Description=Place this file in /lib/systemd/system
|
|
# Description=N4IRS 01/17/2020
|
|
|
|
|
|
[Service]
|
|
User=root
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=3
|
|
StandardOutput=null
|
|
WorkingDirectory=/opt/NXDNGateway
|
|
ExecStartPre=/bin/sh -c 'until ping -c1 noip.com; do sleep 1; done;'
|
|
ExecStart=/opt/NXDNGateway/NXDNGateway /opt/NXDNGateway/NXDNGateway.ini
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
|
|
|
|
|