diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-01-14 08:57:23 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-01-14 08:57:23 +0000 |
commit | 83eb2c37009874672764765ec3bf3b59286c7391 (patch) | |
tree | a956ace1a4a1e10876d4c36f12af02bc9df6cb29 /www/kannel | |
parent | 3c1484f2613137d7eaba8577f6d580c5532ac912 (diff) | |
download | ports-83eb2c37009874672764765ec3bf3b59286c7391.tar.gz ports-83eb2c37009874672764765ec3bf3b59286c7391.zip |
Notes
Diffstat (limited to 'www/kannel')
-rw-r--r-- | www/kannel/files/kannel.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/www/kannel/files/kannel.in b/www/kannel/files/kannel.in index 8c3c2feb3a61..55eb348558b3 100644 --- a/www/kannel/files/kannel.in +++ b/www/kannel/files/kannel.in @@ -1,4 +1,7 @@ #!/bin/sh + +# $FreeBSD$ +# # PROVIDE: kannel_smsbox kannel_wapbox kannel_bearerbox # REQUIRE: NETWORKING SERVERS # BEFORE: LOGIN @@ -7,7 +10,8 @@ . /etc/rc.subr name=kannel -rcvar=`set_rcvar` +rcvar=kannel_enable + command="%%PREFIX%%/sbin/run_kannel_box" extra_commands="reload" sig_reload=SIGUSR1 @@ -33,7 +37,7 @@ fi # bearerbox name=kannel_bearerbox -rcvar=`set_rcvar` +rcvar=kannel_bearerbox_enable pidfile=/var/run/kannel/${name}.pid # Defaults kannel_bearerbox_user=${kannel_bearerbox_user:-"${kannel_user}"} @@ -48,7 +52,7 @@ _rc_restart_done=false # smsbox name=kannel_smsbox -rcvar=`set_rcvar` +rcvar=kannel_smsbox_enable pidfile=/var/run/kannel/${name}.pid # Defaults kannel_smsbox_user=${kannel_smsbox_user:-"${kannel_user}"} @@ -63,7 +67,7 @@ _rc_restart_done=false # wapbox name=kannel_wapbox -rcvar=`set_rcvar` +rcvar=kannel_wapbox_enable pidfile=/var/run/kannel/${name}.pid # Defaults kannel_wapbox_user=${kannel_wapbox_user:-"${kannel_user}"} |