mirror of
https://github.com/YunoHost-Apps/domoticz_ynh.git
synced 2024-09-03 18:26:17 +02:00
14 lines
No EOL
516 B
Text
14 lines
No EOL
516 B
Text
#
|
|
# This file MUST be edited with the 'visudo' command as root.
|
|
#
|
|
# Use 'visudo -f /etc/sudoers.d/domoticz' to do so.
|
|
#
|
|
# See the man page for details on how to write a sudoers file.
|
|
|
|
#This file allow domoticz user to restart the service while upgrading the application with the upstream internal updater
|
|
|
|
#alias for command to restart service (will be used during upgrade)
|
|
Cmnd_Alias RESTART_CMD = /sbin/service __APP__.sh restart
|
|
|
|
#authorized app user to run restart command
|
|
__APP__ ALL=(ALL) NOPASSWD: RESTART_CMD |