mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-12 17:07:23 +01:00
Copy systemd service files before linking to avoid issue with order of mounting filesystems (#1688)
This commit is contained in:
committed by
Joshua Tauberer
parent
52c68c6510
commit
802e7a1f4d
@@ -93,7 +93,8 @@ source $venv/bin/activate
|
||||
exec python `pwd`/management/daemon.py
|
||||
EOF
|
||||
chmod +x $inst_dir/start
|
||||
hide_output systemctl link -f conf/mailinabox.service
|
||||
cp -f conf/mailinabox.service /lib/systemd/system/mailinabox.service
|
||||
hide_output systemctl link -f /lib/systemd/system/mailinabox.service
|
||||
hide_output systemctl daemon-reload
|
||||
hide_output systemctl enable mailinabox.service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user