Changeset d05ea7208ff75842bc3c2c4af52a2bdba13e103e for debian/rahunas.init
- Timestamp:
- 06/09/09 11:24:50 (3 years ago)
- Children:
- 7426d5e4dbbc7360eb762fb28416bd7b122174d5
- Parents:
- 3934ce0e5b4bcce1d38ddb9556b4665e9ec95505
- git-committer:
- Neutron Soutmun <neo.neutron@…> (06/09/09 11:24:50)
- Files:
-
- 1 modified
-
debian/rahunas.init (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
debian/rahunas.init
r4438f09 rd05ea72 17 17 exec_prefix=${prefix} 18 18 19 DAEMON=${exec_prefix}/ bin/rahunasd19 DAEMON=${exec_prefix}/sbin/rahunasd 20 20 INIT=/etc/default/rahunas 21 FIREWALL= /etc/rahunas/firewall.sh22 WEBLOGIN_CONFIG= /etc/rahunas/weblogin-config-update.sh21 FIREWALL=${exec_prefix}/sbin/rahunas-firewall 22 WEBLOGIN_CONFIG=${exec_prefix}/sbin/rahunas-weblogin-config-update 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 ;;
