emq-TE1/service/ircddbgatewayd.service

22 lines
483 B
SYSTEMD

[Unit]
Description=D-Star 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
ExecStartPre=/bin/sh -c 'until ping -c1 noip.com; do sleep 1; done;'
ExecStart=/usr/bin/ircddbgatewayd -logdir:/var/log/ircddbgateway
[Install]
WantedBy=multi-user.target
# Usage: ircddbgatewayd [-nolog] [-debug] [-daemon] [-logdir <str>] [-confdir <str>] [Gateway Name]