diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-22 14:51:27 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-22 14:51:27 +0000 |
commit | 7c5d3519a725b65c3aa6a98be7d8ed6210b3e062 (patch) | |
tree | 4d8c9931a67fc0ab74e3f37052817a7dfd20c09e /www/zerowait-httpd/files/0W-httpd.sh | |
parent | - Update to 1.2 (diff) |
- Update to 0.7m
PR: ports/82519
Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru> (maintainer)
Notes
Notes:
svn path=/head/; revision=137866
Diffstat (limited to 'www/zerowait-httpd/files/0W-httpd.sh')
-rw-r--r-- | www/zerowait-httpd/files/0W-httpd.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/www/zerowait-httpd/files/0W-httpd.sh b/www/zerowait-httpd/files/0W-httpd.sh index c4317a1c954e..f10e657d344b 100644 --- a/www/zerowait-httpd/files/0W-httpd.sh +++ b/www/zerowait-httpd/files/0W-httpd.sh @@ -1,27 +1,28 @@ #!/bin/sh # $FreeBSD$ -# PROVIDE: 0W-httpd +# PROVIDE: zerowait # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown -# Define these 0Whttpd_* variables in one of these files: +# Define these zerowait_enable variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # # DO NOT CHANGE THESE DEFAULT VALUES HERE # -0Whttpd_enable=${0Whttpd_enable-"NO"} - . %%RC_SUBR%% -name="0Whttpd" +name="zerowait" rcvar=`set_rcvar` command="%%PREFIX%%/sbin/0W-httpd" args="-c %%PREFIX%%/etc/0W-httpd/httpd.conf" +required_files="%%PREFIX%%/etc/0W-httpd/httpd.conf" +pidfile="%%PREFIX%%/0W-httpd/pids/httpd" load_rc_config $name +: ${zerowait_enable="NO"} start_cmd="echo \"Starting ${name}.\"; /usr/bin/limits -U www ${command}" |