mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
give apache_user poweroff permission
This commit is contained in:
parent
7f80ed0345
commit
6ea444e5de
2 changed files with 7 additions and 1 deletions
1
roles/httpd/templates/020_apache_poweroff.j2
Normal file
1
roles/httpd/templates/020_apache_poweroff.j2
Normal file
|
|
@ -0,0 +1 @@
|
|||
{{ apache_user }} ALL =NOPASSWD: /sbin/poweroff, /bin/systemctl poweroff
|
||||
Loading…
Add table
Add a link
Reference in a new issue