Add build files for several containers containing networking software

This commit is contained in:
2014-12-26 15:02:35 +01:00
parent f01e045ff3
commit df5dd4f894
6 changed files with 100 additions and 0 deletions

7
build/runit/gmrender Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
set -e
if [ -z "$GMRENDER_NAME" ]; then
/usr/local/bin/gmediarender
else
/usr/local/bin/gmediarender -f $GMRENDER_NAME
fi

8
build/runit/minidlna Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
if [ ! -f $MINIDLNA_CONFIG ]; then
mkdir -p `dirname $$MINIDLNA_CONFIG`
cp /opt/minidlna-$MINIDLNA_VERSION/minidlna.conf $MINIDLNA_CONFIG
fi
mkdir -p `dirname $MINIDLNA_LOG`
mkdir -p $MINIDLNA_DATA
/usr/local/sbin/minidlnad -d -f $MINIDLNA_CONFIG >> $MINIDLNA_LOG

6
build/runit/upnpproxy Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
if [ ! -f $UPNPPROXY_CONFIG ]; then
mkdir -p `dirname $UPNPPROXY_CONFIG`
cp /opt/upnpproxy/doc/upnpproxy.conf $UPNPPROXY_CONFIG
fi
upnpproxy -C $UPNPPROXY_CONFIG