summaryrefslogtreecommitdiff
path: root/www/instiki/files/instiki.sh
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-11-28 21:26:21 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-11-28 21:26:21 +0000
commit2ad295252e15d691fff540423907acb31157dbcb (patch)
tree42b8c9f51c81bd835bf345ce54e57eac0f501fe0 /www/instiki/files/instiki.sh
parentForced commit to document the repocopy of net/ntp to net/ntp-stable. (diff)
- Unbreak by upgrading to 0.10.2;
- Fix the shebang path; - Add a --daemon argument to startup script; - Since I'm there add 2 mirrors. PR: ports/89175 Submitted by: Alastair Rankine <arsptr (at) optusnet.com.au> Approved by: maintainer
Diffstat (limited to 'www/instiki/files/instiki.sh')
-rw-r--r--www/instiki/files/instiki.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/instiki/files/instiki.sh b/www/instiki/files/instiki.sh
index 8aaa9b22d44b..28fcfa571539 100644
--- a/www/instiki/files/instiki.sh
+++ b/www/instiki/files/instiki.sh
@@ -7,7 +7,7 @@
# Add the following line to /etc/rc.conf to enable instiki:
# instiki_enable (bool): Set to "NO" by default
# Set it to "YES" to enable instiki
-# instiki_flags (str): Set to "--port %%INSTIKIPORT%% --storage %%PREFIX%%/%%INSTIKIDIR%%/storage" by default.
+# instiki_flags (str): Set to "--port %%INSTIKIPORT%% --storage %%PREFIX%%/%%INSTIKIDIR%%/storage --daemon" by default.
# Extra flags passed to start command
#
. %%RC_SUBR%%
@@ -16,10 +16,10 @@ name="instiki"
rcvar=`set_rcvar`
command="%%PREFIX%%/%%INSTIKIDIR%%/instiki"
-command_interpreter="%%RUBY_WITHOUT_SUFFIX%%"
+command_interpreter="%%RUBY_WITH_SUFFIX%%"
[ -z "$instiki_enable" ] && instiki_enable="NO"
-[ -z "$instiki_flags" ] && instiki_flags="--port %%INSTIKIPORT%% --storage %%PREFIX%%/%%INSTIKIDIR%%/storage"
+[ -z "$instiki_flags" ] && instiki_flags="--port %%INSTIKIPORT%% --storage %%PREFIX%%/%%INSTIKIDIR%%/storage --daemon"
load_rc_config $name