blob: 9bf045561daf4fc8da56baa4290f0598f468db56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]
Description=Plane Finder ADS-B Client
Wants=network-online.target
After=syslog.target network-online.target
[Service]
Restart=always
RestartSec=30
ExecStart=/usr/bin/pfclient --daemon --log_path=/var/log --config_path=/etc/pfclient/pfclient-config.json --pid_file=/var/run/pfclient.pid
ExecStop=/usr/bin/kill -INT $MAINPID
Type=forking
PIDFile=/var/run/pfclient.pid
[Install]
WantedBy=multi-user.target
|