mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-11 01:27:17 +00:00
launching from the same directory as before the change
This commit is contained in:
parent
91cf713da0
commit
58dde1ce23
@ -1,4 +1,4 @@
|
|||||||
from daemon import app
|
from management.daemon import app
|
||||||
import utils
|
import utils
|
||||||
|
|
||||||
app.logger.addHandler(utils.create_syslog_handler())
|
app.logger.addHandler(utils.create_syslog_handler())
|
||||||
|
@ -99,8 +99,7 @@ export LANG=en_US.UTF-8
|
|||||||
export LC_TYPE=en_US.UTF-8
|
export LC_TYPE=en_US.UTF-8
|
||||||
|
|
||||||
source $venv/bin/activate
|
source $venv/bin/activate
|
||||||
cd $(pwd)/management
|
exec gunicorn -b localhost:10222 -w 2 management.wsgi:app
|
||||||
exec gunicorn -b localhost:10222 -w 2 wsgi:app
|
|
||||||
EOF
|
EOF
|
||||||
chmod +x $inst_dir/start
|
chmod +x $inst_dir/start
|
||||||
cp --remove-destination conf/mailinabox.service /lib/systemd/system/mailinabox.service # target was previously a symlink so remove it first
|
cp --remove-destination conf/mailinabox.service /lib/systemd/system/mailinabox.service # target was previously a symlink so remove it first
|
||||||
|
Loading…
Reference in New Issue
Block a user