aboutsummaryrefslogtreecommitdiff
path: root/www/slash
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-03-06 06:06:08 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-03-06 06:06:08 +0000
commitb1b9f901a755e862c4a36750c645fb7ce5aca817 (patch)
tree35258f712a82c1a8839eb4b6cabfed31ae4c6b84 /www/slash
parent4977505972a1bd13bf1724d5c1c48bbba0377788 (diff)
downloadports-b1b9f901a755e862c4a36750c645fb7ce5aca817.tar.gz
ports-b1b9f901a755e862c4a36750c645fb7ce5aca817.zip
Notes
Diffstat (limited to 'www/slash')
-rw-r--r--www/slash/files/patch-util::slash2
-rw-r--r--www/slash/pkg-message1
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.