summaryrefslogtreecommitdiff
path: root/pfclient.service
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-08-01 22:15:45 +0300
committerYuval Adam <yuval@y3xz.com>2015-08-01 22:15:45 +0300
commit0058c6ceed9336c14487eb844f0e5768204371ea (patch)
treeb7ea928bf21a356a35985d9f0493f89d2ed3f1b5 /pfclient.service
parent7e769cf201f79286e9eb65edef63927eb8b1110a (diff)
Bump to v3.0.2080 add ARM support, and add .service and .install files
Diffstat (limited to 'pfclient.service')
-rw-r--r--pfclient.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/pfclient.service b/pfclient.service
new file mode 100644
index 0000000..94cd36b
--- /dev/null
+++ b/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-beta --daemon --log_path=/var/log --config_path=/etc/pfclient/pfclient-config.json --pid_file=/var/run/pfclient-beta.pid
+ExecStop=/usr/bin/kill -INT $MAINPID
+Type=forking
+PIDFile=/var/run/pfclient-beta.pid
+
+[Install]
+WantedBy=multi-user.target