summaryrefslogtreecommitdiff
path: root/aur/pfclient/pfclient.service
diff options
context:
space:
mode:
Diffstat (limited to 'aur/pfclient/pfclient.service')
-rw-r--r--aur/pfclient/pfclient.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/aur/pfclient/pfclient.service b/aur/pfclient/pfclient.service
new file mode 100644
index 0000000..9bf0455
--- /dev/null
+++ b/aur/pfclient/pfclient.service
@@ -0,0 +1,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