mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2023-12-14 07:22:58 +01:00
Adding systemd file for RPi Image
This commit is contained in:
parent
9d50d004a8
commit
56d9569981
1 changed files with 13 additions and 0 deletions
13
BuildScripts/piratebox.service
Normal file
13
BuildScripts/piratebox.service
Normal 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
|
||||
|
Loading…
Reference in a new issue