diff options
Diffstat (limited to 'www/thundercache/files/thunder-rcNG.in')
-rw-r--r-- | www/thundercache/files/thunder-rcNG.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www/thundercache/files/thunder-rcNG.in b/www/thundercache/files/thunder-rcNG.in new file mode 100644 index 000000000000..901fe1fb8b27 --- /dev/null +++ b/www/thundercache/files/thunder-rcNG.in @@ -0,0 +1,21 @@ +#!/bin/sh +# +# PROVIDE: thunder +# REQUIRE: LOGIN +# +# Remember to thunder_enable="YES" in /etc/rc.conf +# +# FreeBSD Brasil LTDA <consultoria@freebsdbrasil.com.br> +# + +. /etc/rc.subr + +name="thunder" +rcvar=`set_rcvar` +command="%%PREFIX%%/thunder/sbin/thunder ${thunder_flags}" +pidfile="/var/run/thunder/thunder.pid" +: ${thunder_enable="NO"} +: ${thunder_flags="-c %%PREFIX%%/thunder/etc/thunder.conf"} +load_rc_config $name +run_rc_command "$1" + |