You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# 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
|
|
|
|
|
|
|
|
# Allow the server to mount iso images
|
|
|
|
jellyfin ALL=(ALL) NOPASSWD: /bin/mount
|
|
|
|
jellyfin ALL=(ALL) NOPASSWD: /bin/umount
|
|
|
|
|
|
|
|
Defaults:jellyfin !requiretty
|