Commit 071ff55f authored by ale's avatar ale
Browse files

allow users to specify options separately for the two daemons

parent cbaae07c
......@@ -16,5 +16,6 @@ DOMAIN=""
# Set the etcd servers to connect to (default: etcd.$DOMAIN).
#ETCD_SERVER=""
# Additional options that are passed to the daemons.
DAEMON_OPTIONS=""
# Additional options that are passed to specific daemons.
RADIOD_OPTIONS=""
REDIRECTORD_OPTIONS=""
autoradio (0.2-1) unstable; urgency=low
* Fixes to packaging scripts.
-- ale <ale@incal.net> Sun, 22 Dec 2013 18:36:23 +0000
autoradio (0.2) unstable; urgency=low
* Update to the etcd 0.2 API.
......
......@@ -6,5 +6,5 @@ set_public_ip
set_etcd_params
exec chpst -u icecast2 \
radiod --ip=${PUBLIC_IP} ${ETCD_OPTIONS} ${DAEMON_OPTIONS} \
radiod --ip=${PUBLIC_IP} ${ETCD_OPTIONS} ${RADIOD_OPTIONS} \
2>&1
......@@ -7,5 +7,5 @@ set_etcd_params
exec chpst -u nobody \
redirectord --ip=${PUBLIC_IP} --domain=${DOMAIN} \
${ETCD_OPTIONS} ${DAEMON_OPTIONS} \
${ETCD_OPTIONS} ${REDIRECTORD_OPTIONS} \
2>&1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment