[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, gismo-debian-split-config, updated. debian/0.2.0-git20080909-6-5-g1401c84
Luca Capello
luca at pca.it
Sun Oct 26 16:16:09 UTC 2008
The following commit has been merged in the gismo-debian-split-config branch:
commit 1401c846536143d8eb7600e9a604cceed1cf3b5d
Author: Luca Capello <luca at pca.it>
Date: Sun Oct 26 17:15:49 2008 +0100
debian/fso-frameworkd.init: exit with 0 if no frameworkd.conf
diff --git a/debian/changelog b/debian/changelog
index eb863c1..df6ab15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,7 +10,8 @@ fso-frameworkd (0.2.0-git20080909-7) UNRELEASED; urgency=low
to each sound format.
* debian/frameworkd.conf: removed
* debian/fso-frameworkd.init:
- + check for /etc/frameworkd.conf before starting.
+ + don't start frameworkd if /etc/frameworkd.conf is not found,
+ instead print a message and exit without error.
* debian/fso-frameworkd.install:
+ install conf/example/frameworkd.conf in the document folder.
- don't install the configuration files, they are now provided
diff --git a/debian/fso-frameworkd.init b/debian/fso-frameworkd.init
index 4259253..620a29c 100755
--- a/debian/fso-frameworkd.init
+++ b/debian/fso-frameworkd.init
@@ -35,7 +35,7 @@ case "$1" in
echo "No $CONFFILE found, frameworkd cannot start. Please read"
echo "/usr/share/doc/fso-frameworkd/README.Debian."
echo
- exit 1
+ exit 0
fi
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon --start --pidfile ${PIDFILE} --make-pidfile --background --exec ${DAEMON}
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list