blob: 39ed6257fd5484e146292cae4aae41b2ce085a6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff -Naupr xupnpd_orig/src/xupnpd.lua xupnpd/src/xupnpd.lua
--- xupnpd_orig/src/xupnpd.lua 2015-08-01 14:24:27.000000000 +0600
+++ xupnpd/src/xupnpd.lua 2015-08-01 14:26:57.139964797 +0600
@@ -102,15 +102,15 @@ feeds=
-- log ident, pid file end www root
cfg.version='1.033'
cfg.log_ident=arg[1] or 'xupnpd'
-cfg.pid_file='/var/run/'..cfg.log_ident..'.pid'
-cfg.www_root='./www/'
+cfg.pid_file='/run/xupnpd/xupnpd.pid'
+cfg.www_root='/usr/share/xupnpd/www/'
cfg.tmp_path='/tmp/'
-cfg.plugin_path='./plugins/'
+cfg.plugin_path='/usr/share/xupnpd/plugins/'
cfg.config_path='./config/'
cfg.playlists_path='./playlists/'
--cfg.feeds_path='/tmp/xupnpd-feeds/'
-cfg.ui_path='./ui/'
+cfg.ui_path='/usr/share/xupnpd/ui/'
cfg.drive='' -- reload playlists only if drive state=active/idle, example: cfg.drive='/dev/sda'
-cfg.profiles='./profiles/' -- device profiles feature
+cfg.profiles='/usr/share/xupnpd/profiles/' -- device profiles feature
dofile('xupnpd_main.lua')
|