]> git.pld-linux.org Git - packages/courier-sox.git/commitdiff
- few fixes for init file
authorAndrzej Augustynowicz <andrzej@augustynowicz.eu.org>
Sat, 16 Apr 2005 19:14:13 +0000 (19:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    courier-sox-init.patch -> 1.1

courier-sox-init.patch [new file with mode: 0644]

diff --git a/courier-sox-init.patch b/courier-sox-init.patch
new file mode 100644 (file)
index 0000000..d5c4305
--- /dev/null
@@ -0,0 +1,38 @@
+diff -Nur old/courier-sox.sysvinit.in new/courier-sox.sysvinit.in
+--- old/courier-sox.sysvinit.in        2004-12-05 02:24:29.000000000 +0000
++++ new/courier-sox.sysvinit.in        2005-04-16 19:09:43.000000000 +0000
+@@ -5,6 +5,9 @@
+ #
+ #
++# Source function library
++. /etc/rc.d/init.d/functions
++
+ prefix="@prefix@"
+ exec_prefix="@exec_prefix@"
+ sysconfdir="@sysconfdir@"
+@@ -29,15 +32,23 @@
+       $sbindir/sockd stop
+       echo "sockd"
++      rm -f /var/lock/subsys/courier-sox
+         ;;
+ restart)
+       $0 stop
+       $0 start
+         ;;
+-reload)
++reload|force-reload)
+         echo -n "Reloading the Courier Socks server: "
+       $sbindir/sockd restart
+       echo "sockd"
+         ;;
++status)
++        status sockd
++      exit $?
++      ;;
++*)
++        msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
++      exit 3
+ esac
+ exit 0
This page took 0.107206 seconds and 4 git commands to generate.