- Timestamp:
- 05/07/09 20:30:56 (3 years ago)
- Children:
- 9679928e3424ddb216ce7cb6ae23351b51728b78
- Parents:
- a68d42f968bde01a20d55ffc7c9cd33656fbb900
- git-committer:
- Neutron Soutmun <neo.neutron@…> (05/07/09 20:30:56)
- Files:
-
- 1 modified
-
example/rahunas.init.in (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
example/rahunas.init.in
rcc256e1 ra0fbd80 22 22 WEBLOGIN_CONFIG=@sysconfdir@/rahunas/weblogin-config-update.sh 23 23 NAME=rahunasd 24 DESC="Rahu NAS - RahuNetwork Access Server"24 DESC="Rahu Network Access Server" 25 25 26 26 … … 91 91 case "$1" in 92 92 start) 93 log_daemon_msg "Starting $DESC" "$NAME"94 95 93 if [ "$RUN_DAEMON" = "yes" ]; then 94 log_daemon_msg "Starting $DESC" "$NAME" 96 95 if start ; then 97 96 log_end_msg $? … … 100 99 fi 101 100 else 102 log_ end_msg "disabled, to enable see$INIT"101 log_action_msg "Not starting $DESC, as specified in $INIT" 103 102 fi 104 103 ;; … … 113 112 ;; 114 113 restart) 115 log_daemon_msg "Restarting $DESC" "$NAME"116 stop || true117 118 114 if [ "$RUN_DAEMON" = "yes" ]; then 115 log_daemon_msg "Restarting $DESC" "$NAME" 116 stop || true 119 117 if start ; then 120 118 log_end_msg $? … … 123 121 fi 124 122 else 125 log_ end_msg "disabled, to enable see$INIT"123 log_action_msg "Not restarting $DESC, as specified in $INIT" 126 124 fi 127 125 ;;
