mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
13 lines
419 B
Text
13 lines
419 B
Text
|
##
|
||
|
## 10-ejabberdmoodle
|
||
|
## for ejabberd-moodle interaction
|
||
|
##
|
||
|
|
||
|
# allow the apache user to invoke ejabberdctl and start/stop/condrestart
|
||
|
Defaults:apache !requiretty
|
||
|
Cmnd_Alias EJABBERDCTL = /usr/sbin/ejabberdctl
|
||
|
Cmnd_Alias EJABBERDINIT = /etc/init.d/ejabberd start , /etc/init.d/ejabberd stop , /etc/init.d/ejabberd condrestart
|
||
|
|
||
|
apache ALL = (ejabberd) NOPASSWD: EJABBERDCTL
|
||
|
apache ALL = (root) NOPASSWD: EJABBERDINIT
|