diff options
author | FabioLolix | 2020-12-07 14:45:03 +0100 |
---|---|---|
committer | FabioLolix | 2020-12-07 14:45:03 +0100 |
commit | 07f07f902fb9c73371780b7ffbe2b55abff295c6 (patch) | |
tree | d9a0c955f61b038623d9e93395a48481f1711a82 /bubbleupnpserver | |
parent | 49ce2428f1da7daf7f13249097b2cebb49741e8f (diff) | |
download | aur-07f07f902fb9c73371780b7ffbe2b55abff295c6.tar.gz |
update & revision
Diffstat (limited to 'bubbleupnpserver')
-rw-r--r-- | bubbleupnpserver | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/bubbleupnpserver b/bubbleupnpserver new file mode 100644 index 000000000000..568eb505775b --- /dev/null +++ b/bubbleupnpserver @@ -0,0 +1,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 + |