/[smeserver]/rpms/e-smith-runit/sme7/e-smith-runit-1.0.0-runit17.patch2
ViewVC logotype

Contents of /rpms/e-smith-runit/sme7/e-smith-runit-1.0.0-runit17.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Oct 7 19:18:54 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-runit-1.0.0/root/etc/rc.d/init.d/daemontools mezzanine_patched_e-smith-runit-1.0.0/root/etc/rc.d/init.d/daemontools
2 --- e-smith-runit-1.0.0/root/etc/rc.d/init.d/daemontools 2007-02-16 13:42:54.000000000 -0700
3 +++ mezzanine_patched_e-smith-runit-1.0.0/root/etc/rc.d/init.d/daemontools 2007-02-16 13:41:56.000000000 -0700
4 @@ -29,7 +29,7 @@
5 if [ -d $1/log ]; then
6 dirs="$1/log $1"
7 fi
8 - /usr/bin/sv start $dirs > /dev/null
9 + /usr/bin/sv u $dirs > /dev/null
10 if [ $? -ne 0 ]; then
11 failure "Starting $SERVICE"
12 else
13 @@ -62,8 +62,8 @@
14 if [ -e log ]; then
15 dirs="$dirs ./log"
16 fi
17 - /usr/bin/sv stop $dirs
18 - /usr/bin/sv exit $dirs
19 + /usr/bin/sv d $dirs
20 + /usr/bin/sv x $dirs
21 if [ $? -ne 0 ]; then
22 failure "Disabling $SERVICE"
23 else
24 @@ -75,19 +75,20 @@
25 case $1 in
26
27 restart)
28 - action "Restarting $SERVICE" /usr/bin/sv restart $SERVICE_DIR
29 + action "Restarting $SERVICE" /usr/bin/sv t $SERVICE_DIR
30 + /usr/bin/sv u $SERVICE_DIR
31 ;;
32
33 sigalrm)
34 - action "Sending ALRM signal to $SERVICE" /usr/bin/sv alarm $SERVICE_DIR
35 + action "Sending ALRM signal to $SERVICE" /usr/bin/sv a $SERVICE_DIR
36 ;;
37
38 sigcont)
39 - action "Sending CONT signal to $SERVICE" /usr/bin/sv cont $SERVICE_DIR
40 + action "Sending CONT signal to $SERVICE" /usr/bin/sv c $SERVICE_DIR
41 ;;
42
43 sighup)
44 - action "Sending HUP signal to $SERVICE" /usr/bin/sv hup $SERVICE_DIR
45 + action "Sending HUP signal to $SERVICE" /usr/bin/sv h $SERVICE_DIR
46 ;;
47
48 sigusr1)
49 @@ -99,19 +100,19 @@
50 ;;
51
52 sigint)
53 - action "Sending INT signal to $SERVICE" /usr/bin/sv interrupt $SERVICE_DIR
54 + action "Sending INT signal to $SERVICE" /usr/bin/sv i $SERVICE_DIR
55 ;;
56
57 sigkill)
58 - action "Sending KILL signal to $SERVICE" /usr/bin/sv kill $SERVICE_DIR
59 + action "Sending KILL signal to $SERVICE" /usr/bin/sv k $SERVICE_DIR
60 ;;
61
62 sigstop)
63 - action "Sending STOP signal to $SERVICE" /usr/bin/sv pause $SERVICE_DIR
64 + action "Sending STOP signal to $SERVICE" /usr/bin/sv p $SERVICE_DIR
65 ;;
66
67 sigterm|condrestart)
68 - action "Sending TERM signal to $SERVICE" /usr/bin/sv term $SERVICE_DIR
69 + action "Sending TERM signal to $SERVICE" /usr/bin/sv t $SERVICE_DIR
70 ;;
71
72 status)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed