1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00

obviously put our stuff in /usr/local and not /usr

This commit is contained in:
Joshua Tauberer 2014-06-21 12:35:00 -04:00
parent d3cacd4a11
commit 326cc2a451
4 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Mail-in-a-Box Mgmt"
NAME=mailinabox
DAEMON=/usr/bin/mailinabox-daemon
DAEMON=/usr/local/bin/mailinabox-daemon
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME

View File

@ -42,7 +42,7 @@ server {
# Webfinger configuration.
location = /.well-known/webfinger {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/bin/mailinabox-webfinger.php;
fastcgi_param SCRIPT_FILENAME /usr/local/bin/mailinabox-webfinger.php;
fastcgi_pass unix:/tmp/php-fastcgi.www-data.sock;
}
}

View File

@ -12,8 +12,8 @@ if [ ! -f $STORAGE_ROOT/backup/secret_key.txt ]; then
fi
# Link the management server daemon into a well known location.
rm -f /usr/bin/mailinabox-daemon
ln -s `pwd`/management/daemon.py /usr/bin/mailinabox-daemon
rm -f /usr/local/bin/mailinabox-daemon
ln -s `pwd`/management/daemon.py /usr/local/bin/mailinabox-daemon
# Create an init script to start the management daemon and keep it
# running after a reboot.

View File

@ -32,8 +32,8 @@ ln -s $(pwd)/conf/phpfcgi-initscript /etc/init.d/php-fastcgi
update-rc.d php-fastcgi defaults
# Put our webfinger server script into a well-known location.
cp tools/webfinger.php /usr/bin/mailinabox-webfinger.php
chown www-data.www-data /usr/bin/mailinabox-webfinger.php
cp tools/webfinger.php /usr/local/bin/mailinabox-webfinger.php
chown www-data.www-data /usr/local/bin/mailinabox-webfinger.php
# Start services.
service nginx restart