aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2012-10-01 12:13:11 +0100
committerMark Longair <mhl@pobox.com>2012-10-01 12:13:11 +0100
commit5a75eeb6511c59cb29b964e48af5b0b2cc275749 (patch)
tree45bbdbae18f80d677e6a500a5fb8fe79e2581392
parent5765b196cd930f3adb53b66401b04131d882247e (diff)
Correct the sysvinit file installation
-rwxr-xr-xbin/pre-install-as-root2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pre-install-as-root b/bin/pre-install-as-root
index 56dc74a96..c2ac2147e 100755
--- a/bin/pre-install-as-root
+++ b/bin/pre-install-as-root
@@ -211,7 +211,7 @@ install_sysvinit_script() {
sed -i "s,/var/www/$SITE,$DIRECTORY,g" $SYSVINIT_FILENAME
sed -i "s/^ *USER=.*/USER=$UNIX_USER/" $SYSVINIT_FILENAME
chmod a+rx $SYSVINIT_FILENAME
- update-rc.d fms-catalyst-fastcgi start 20 2 3 4 5 . stop 20 0 1 6 .
+ update-rc.d $SITE start 20 2 3 4 5 . stop 20 0 1 6 .
/etc/init.d/$SITE restart
}