]> git.pld-linux.org Git - packages/PyICQt.git/commitdiff
- added pyicqt to start daemon in background,
authordjrzulf <djrzulf@pld-linux.org>
Sun, 19 Aug 2007 11:39:13 +0000 (11:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- updates at init,

Changed files:
    PyICQt.init -> 1.3
    pyicqt.sh -> 1.1

PyICQt.init
pyicqt.sh [new file with mode: 0644]

index 9c22281ff02182acb4f2f0258fa4ff6f046ee8cd..206f07a7cdfc8af1729cdaef02a672175677e830 100755 (executable)
@@ -13,7 +13,7 @@
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-               msg_network_down PyICQt
+               msg_network_down pyICQt
                exit 1
        fi
 else
@@ -27,7 +27,7 @@ case "$1" in
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/PyICQt ]; then
                msg_starting "Jabber ICQ transport"
-               daemon /usr/share/pyicqt/PyICQt.py -c /etc/jabber/PyICQt.xml
+               daemon /usr/sbin/pyicqt.sh /etc/jabber/PyICQt.xml
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/PyICQt
        else
diff --git a/pyicqt.sh b/pyicqt.sh
new file mode 100644 (file)
index 0000000..0950c48
--- /dev/null
+++ b/pyicqt.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+/usr/share/pyicqt/PyICQt.py -c $1 &
+
This page took 0.075996 seconds and 4 git commands to generate.