mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
add priv dropping
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
# Location of the admin web pages. This should be correct
|
||||
#
|
||||
|
||||
web_root /usr/share/mt-daapd/admin-root
|
||||
web_root /home/ron/working/mt-daapd/admin-root
|
||||
|
||||
#
|
||||
# port (required)
|
||||
@@ -46,6 +46,18 @@ mp3_dir /mnt/mp3
|
||||
|
||||
servername mt-daapd
|
||||
|
||||
#
|
||||
# runas (required)
|
||||
#
|
||||
# This is the user to drop privs to if running as
|
||||
# root. If mt-daapd is not started as root, this
|
||||
# configuration option is ignored. Notice that this
|
||||
# must be specified whether the server is running
|
||||
# as root or not.
|
||||
#
|
||||
|
||||
runas nobody
|
||||
|
||||
#
|
||||
# playlist (optional)
|
||||
#
|
||||
@@ -59,7 +71,7 @@ servername mt-daapd
|
||||
# specified
|
||||
#
|
||||
|
||||
playlist /etc/mt-daapd.playlist
|
||||
playlist /home/ron/mt-daapd.playlist
|
||||
|
||||
#
|
||||
# password (optional)
|
||||
@@ -68,4 +80,7 @@ playlist /etc/mt-daapd.playlist
|
||||
# i.e. the password that iTunes prompts for
|
||||
#
|
||||
|
||||
#password mp3
|
||||
#password mp3
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user