6 lines
439 B
Text
6 lines
439 B
Text
# Allows the web server user to manage only the tinyauth service.
|
|
# Install: sudo install -m 0440 tinyauth-web.sudoers /etc/sudoers.d/tinyauth-web
|
|
# sudo visudo -cf /etc/sudoers.d/tinyauth-web
|
|
# Adjust the systemctl path if `command -v systemctl` differs.
|
|
|
|
www-data ALL=(root) NOPASSWD: /usr/bin/systemctl status tinyauth, /usr/bin/systemctl start tinyauth, /usr/bin/systemctl stop tinyauth, /usr/bin/systemctl restart tinyauth
|