parent
2a70cf115c
commit
2abd4c0c9c
@ -1,33 +0,0 @@
|
|||||||
#Allow jellyfin group to start, stop and restart itself
|
|
||||||
Cmnd_Alias RESTARTSERVER_SYSV = /sbin/service jellyfin restart, /usr/sbin/service jellyfin restart
|
|
||||||
Cmnd_Alias STARTSERVER_SYSV = /sbin/service jellyfin start, /usr/sbin/service jellyfin start
|
|
||||||
Cmnd_Alias STOPSERVER_SYSV = /sbin/service jellyfin stop, /usr/sbin/service jellyfin stop
|
|
||||||
Cmnd_Alias RESTARTSERVER_SYSTEMD = /usr/bin/systemd-run systemctl restart jellyfin
|
|
||||||
Cmnd_Alias STARTSERVER_SYSTEMD = /usr/bin/systemd-run systemctl start jellyfin
|
|
||||||
Cmnd_Alias STOPSERVER_SYSTEMD = /usr/bin/systemd-run systemctl stop jellyfin
|
|
||||||
Cmnd_Alias RESTARTSERVER_INITD = /etc/init.d/jellyfin restart
|
|
||||||
Cmnd_Alias STARTSERVER_INITD = /etc/init.d/jellyfin start
|
|
||||||
Cmnd_Alias STOPSERVER_INITD = /etc/init.d/jellyfin stop
|
|
||||||
|
|
||||||
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: RESTARTSERVER_SYSV
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: STARTSERVER_SYSV
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: STOPSERVER_SYSV
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: RESTARTSERVER_SYSTEMD
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: STARTSERVER_SYSTEMD
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: STOPSERVER_SYSTEMD
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: RESTARTSERVER_INITD
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: STARTSERVER_INITD
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: STOPSERVER_INITD
|
|
||||||
|
|
||||||
Defaults!RESTARTSERVER_SYSV !requiretty
|
|
||||||
Defaults!STARTSERVER_SYSV !requiretty
|
|
||||||
Defaults!STOPSERVER_SYSV !requiretty
|
|
||||||
Defaults!RESTARTSERVER_SYSTEMD !requiretty
|
|
||||||
Defaults!STARTSERVER_SYSTEMD !requiretty
|
|
||||||
Defaults!STOPSERVER_SYSTEMD !requiretty
|
|
||||||
Defaults!RESTARTSERVER_INITD !requiretty
|
|
||||||
Defaults!STARTSERVER_INITD !requiretty
|
|
||||||
Defaults!STOPSERVER_INITD !requiretty
|
|
||||||
|
|
||||||
Defaults:jellyfin !requiretty
|
|
@ -1,14 +0,0 @@
|
|||||||
# Allow jellyfin group to start, stop and restart itself
|
|
||||||
Cmnd_Alias RESTARTSERVER_SYSTEMD = /usr/bin/systemd-run systemctl restart jellyfin
|
|
||||||
Cmnd_Alias STARTSERVER_SYSTEMD = /usr/bin/systemd-run systemctl start jellyfin
|
|
||||||
Cmnd_Alias STOPSERVER_SYSTEMD = /usr/bin/systemd-run systemctl stop jellyfin
|
|
||||||
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: RESTARTSERVER_SYSTEMD
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: STARTSERVER_SYSTEMD
|
|
||||||
jellyfin ALL=(ALL) NOPASSWD: STOPSERVER_SYSTEMD
|
|
||||||
|
|
||||||
Defaults!RESTARTSERVER_SYSTEMD !requiretty
|
|
||||||
Defaults!STARTSERVER_SYSTEMD !requiretty
|
|
||||||
Defaults!STOPSERVER_SYSTEMD !requiretty
|
|
||||||
|
|
||||||
Defaults:jellyfin !requiretty
|
|
Loading…
Reference in new issue