Add build files for several containers containing networking software
This commit is contained in:
7
build/runit/gmrender
Normal file
7
build/runit/gmrender
Normal 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
8
build/runit/minidlna
Normal 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
6
build/runit/upnpproxy
Normal 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
|
||||
Reference in New Issue
Block a user