mirror of
https://github.com/brmlab/brmdoor.git
synced 2025-06-07 11:14:01 +02:00
Create brmdoor.service
This commit is contained in:
parent
9dca8a2970
commit
16400d3374
1 changed files with 12 additions and 0 deletions
12
brmdoor-rpi/brmdoor.service
Normal file
12
brmdoor-rpi/brmdoor.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=brmdoor
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
User=brmdoor
|
||||
ExecStart=/usr/bin/screen -L -d -m -S brmdoor
|
||||
ExecStop=/usr/bin/killall -w -s 2 brmdoor
|
||||
WorkingDirectory=/home/brmdoor
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue