summaryrefslogtreecommitdiff
path: root/www/hiawatha/files/hiawatha.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/hiawatha/files/hiawatha.sh')
-rw-r--r--www/hiawatha/files/hiawatha.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/hiawatha/files/hiawatha.sh b/www/hiawatha/files/hiawatha.sh
index 78701bb3f44..679b96f37f2 100644
--- a/www/hiawatha/files/hiawatha.sh
+++ b/www/hiawatha/files/hiawatha.sh
@@ -1,11 +1,12 @@
-#! /bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: hiawatha.sh,v 1.1.1.1 2001/04/15 02:56:40 jwise Exp $
+# $NetBSD: hiawatha.sh,v 1.2 2003/08/04 11:00:32 jmmv Exp $
#
# PROVIDE: hiawatha
# REQUIRE: DAEMON
PREFIX=@PREFIX@
+PKG_SYSCONFDIR=@PKG_SYSCONFDIR@
pidfile=/var/run/hiawatha.pid
@@ -19,7 +20,7 @@ CLASSPATH=${PREFIX}/lib/java/hiawatha/hiawatha.jar:${PREFIX}/lib/java/hiawatha/x
export CLASSPATH
name="hiawatha"
-command="${JAVA_HOME}/bin/java com.pault.hiawatha.Server ${PREFIX}/etc/hiawatha.cfg"
+command="${JAVA_HOME}/bin/java com.pault.hiawatha.Server ${PKG_SYSCONFDIR}/hiawatha.cfg"
if [ ! -d /var/spool/hiawatha ]
then