Adding systemd file for RPi Image

This commit is contained in:
Matthias Strubel 2014-06-05 14:26:54 +02:00
parent 9d50d004a8
commit 56d9569981

View file

@ -0,0 +1,13 @@
[Unit]
Description=PirateBox Service
[Service]
Type=forking
ExecStart=/opt/piratebox/init.d/piratebox_alt start
ExecStop=/opt/piratebox/init.d/piratebox_alt stop
#Restart=/opt/piratebox/init.d/piratebox_alt restart
#PIDFile=/var/run/piratebox.pid
[Install]
WantedBy=multi-user.target