diff options
author | leeym <leeym@FreeBSD.org> | 2004-03-06 06:06:08 +0000 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2004-03-06 06:06:08 +0000 |
commit | 5e23e491853b4f6d65c3058bf4256856d7fd83d8 (patch) | |
tree | ecbda159a8155e8eccfddef06ba068de3f2e7642 /www/slash | |
parent | f9e39cd245257902517a280c173db5550c880655 (diff) | |
download | FreeBSD-ports-5e23e491853b4f6d65c3058bf4256856d7fd83d8.zip FreeBSD-ports-5e23e491853b4f6d65c3058bf4256856d7fd83d8.tar.gz |
update for rc.d/ startup issues
Submitted by: Autrijus Tang <autrijus@autrijus.org>
Diffstat (limited to 'www/slash')
-rw-r--r-- | www/slash/files/patch-util::slash | 2 | ||||
-rw-r--r-- | www/slash/pkg-message | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/www/slash/files/patch-util::slash b/www/slash/files/patch-util::slash index b6a620f..a6402d9 100644 --- a/www/slash/files/patch-util::slash +++ b/www/slash/files/patch-util::slash @@ -5,7 +5,7 @@ # the appropriate lines, below. if [ "$OS" = "FreeBSD" ] ; then - su - $USERNAME "-c 'TZ=GMT $SLASHD $SERVER_NAME'" & -+ TZ=GMT su $USERNAME -c "$SLASHD $SERVER_NAME" & ++ TZ=GMT su -m $USERNAME -c "$SLASHD $SERVER_NAME" & elif [ "$OS" = "Linux" ] ; then su - $USERNAME -c "TZ=GMT $SLASHD $SERVER_NAME" & else diff --git a/www/slash/pkg-message b/www/slash/pkg-message index e309224..04a9298 100644 --- a/www/slash/pkg-message +++ b/www/slash/pkg-message @@ -11,6 +11,7 @@ cd %%LOCALBASE%%/slash # change to the slash directory bin/install-slashsite -u slash # "slash" is virtual user's name apachectl restart # restarts the apache server + %%LOCALBASE%%/etc/rc.d/slash.sh start # start the "slashd" daemon Note that the "install-slashsite" script will ask you of a "theme"; just answer "slashcode" (the only option) will do. |