/lib/systemd/system/remotetrx.service is in remotetrx 17.12.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ;;;;; Author: Richard Neese<kb3vgw@gmail.com>
[Unit]
Description=SvxLink remote transceiver repeater control software
Documentation=man:remotetrx(1)
Requires=svxlink_gpio_setup.service
After=network.target remote-fs.target time.target
After=svxlink_gpio_setup.service
[Service]
EnvironmentFile=/etc/default/remotetrx
PIDFile=/run/remotetrx.pid
ExecStartPre=-/bin/touch /var/log/remotetrx
ExecStartPre=-/bin/chown $RUNASUSER /var/log/remotetrx
ExecStart=/bin/sh -c '/usr/bin/remotetrx --pidfile=/run/remotetrx.pid --logfile=/var/log/remotetrx --config=$CFGFILE --runasuser=$RUNASUSER'
ExecReload=/bin/kill -s HUP $MAINPID
Restart=on-failure
TimeoutStartSec=60
#WatchdogSec=
#NotifyAccess=main
LimitCORE=infinity
WorkingDirectory=/etc/svxlink
[Install]
WantedBy=multi-user.target
|