blob: 568eb505775b8c7a2c5eb1dbd1c5b5dae1000361 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Defaults for bubbleupnpserver initscript
# sourced by /etc/init/bubbleupnpserver.conf
#
# This is a POSIX shell fragment
#
#
# User under which to run BubbleUPnP Server
#
# It is OK to run BubbleUPnP Server with an unpriviledged user
# as long as you do not use http or https ports < 1024
#
# if not running as root, for auto-update to work, you will have
# to make the install dir (/usr/share/bubbleupnpserver) and its files writable
# by the user defined here
USER="root"
#
# DATA dir is where all data files aer stored:
# configuration, logs, image cache, OpenHome Playlists
#
if [ "${USER}" = "root" ]; then
DATADIR=/root/.bubbleupnpserver
else
DATADIR="/home/${USER}/.bubbleupnpserver"
fi
#
# HTTP and HTTPS port used by BubbleUPnP Server
# NOTE you need to run the server as root user if using ports < 1024
#
HTTP_PORT=58050
HTTPS_PORT=58051
|