diff options
author | leeym <leeym@FreeBSD.org> | 2004-03-06 14:06:08 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2004-03-06 14:06:08 +0800 |
commit | 5e23e491853b4f6d65c3058bf4256856d7fd83d8 (patch) | |
tree | ecbda159a8155e8eccfddef06ba068de3f2e7642 | |
parent | f9e39cd245257902517a280c173db5550c880655 (diff) | |
download | freebsd-ports-gnome-5e23e491853b4f6d65c3058bf4256856d7fd83d8.tar.gz freebsd-ports-gnome-5e23e491853b4f6d65c3058bf4256856d7fd83d8.tar.zst freebsd-ports-gnome-5e23e491853b4f6d65c3058bf4256856d7fd83d8.zip |
update for rc.d/ startup issues
Submitted by: Autrijus Tang <autrijus@autrijus.org>
-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 b6a620fac8fd..a6402d90caab 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 e3092246e91d..04a9298e931a 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. |