mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-26 18:06:30 -05:00
added button press service
This commit is contained in:
parent
92d112b10e
commit
1dabf61ac2
3 changed files with 29 additions and 0 deletions
11
scripts/button.service
Normal file
11
scripts/button.service
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Button Reboot Service
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/buttonservice.sh
|
||||
Restart=always
|
||||
User=femto
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue