diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:11:47 +0200 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:11:47 +0200 |
| commit | 16d7b9322a4e8405862b0a1602ba5a61c98c50c1 (patch) | |
| tree | 973075c6e49a94b23cb91a0d8100775d48e52255 /aur/pfclient/pfclient.service | |
| parent | be28133277f75231ffc3a0ec4578c8b0b2590a13 (diff) | |
| parent | 7a760b75fee39dd3039d34b6cd4026a10c45c07d (diff) | |
Add 'aur/pfclient/' from commit '7a760b75fee39dd3039d34b6cd4026a10c45c07d'
git-subtree-dir: aur/pfclient
git-subtree-mainline: be28133277f75231ffc3a0ec4578c8b0b2590a13
git-subtree-split: 7a760b75fee39dd3039d34b6cd4026a10c45c07d
Diffstat (limited to 'aur/pfclient/pfclient.service')
| -rw-r--r-- | aur/pfclient/pfclient.service | 15 |
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 |
