mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
5 lines
333 B
Text
5 lines
333 B
Text
# Grant sudo permissions to the user to manage his own systemd service
|
|
__APP__ ALL=(ALL) NOPASSWD: /bin/systemctl stop __APP__.service
|
|
__APP__ ALL=(ALL) NOPASSWD: /bin/systemctl start __APP__.service
|
|
__APP__ ALL=(ALL) NOPASSWD: /bin/systemctl restart __APP__.service
|
|
__APP__ ALL=(ALL) NOPASSWD: /bin/systemctl status __APP__.service
|