1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/octoprint_ynh.git synced 2024-09-03 19:46:26 +02:00
octoprint_ynh/conf/sudoers
2020-01-25 22:46:07 +01:00

5 lines
389 B
Text

# Grant sudo permissions to the user to manage his own systemd service
octoprint ALL=(ALL) NOPASSWD: /bin/systemctl stop octoprint@octoprint.service
octoprint ALL=(ALL) NOPASSWD: /bin/systemctl start octoprint@octoprint.service
octoprint ALL=(ALL) NOPASSWD: /bin/systemctl restart octoprint@octoprint.service
octoprint ALL=(ALL) NOPASSWD: /bin/systemctl status octoprint@octoprint.service