+ specify rygel service user & group

This commit is contained in:
nicobo 2020-11-21 07:45:02 +01:00
parent cf7654ad4d
commit 29ed4f4ebd
No known key found for this signature in database
GPG key ID: 2581E71C5FA5285F
2 changed files with 4 additions and 2 deletions

View file

@ -8,6 +8,8 @@ pulseaudio_users: []
# Change this to /home/<user>/.config/rygel.conf if you want to configure it for a given user.
# By default it configures Rygel system-wide (/etc/rygel.conf).
rygel_conf_path: /etc/rygel.conf
rygel_user: root
rygel_group: root
# Name/template name of the default device and streams created by this role, as seen on the DLNA renderer.
# See http://rygel-project.org/doc/latest/rygel.conf.html for available variables to customize them.

View file

@ -4,8 +4,8 @@ Description=Rygel DLNA server
After=syslog.target
[Service]
User=rygel
Group=rygel
User={{ rygel_user }}
Group={{ rygel_group }}
ExecStart=/usr/bin/rygel
# ExecStart=/usr/bin/wrap-dbus /usr/bin/rygel