1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-04 15:54:48 +01:00

Initial commit to support a luks formatted partition holding user-data.

See #1340.

Run setup/start-encrypted.sh instead of setup/start.sh.

After reboots, login to your box and run tools/startup.sh.
This commit is contained in:
downtownallday
2020-01-20 12:26:50 -05:00
parent a67f90593d
commit 42d471ba7f
6 changed files with 175 additions and 0 deletions

16
tools/startup.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
setup/ehdd/mount.sh || exit 1
if [ -s /etc/mailinabox.conf ]; then
[ -x /usr/sbin/slapd ] && systemctl start slapd
systemctl start php7.2-fpm
systemctl start dovecot
systemctl start postfix
systemctl start nginx
systemctl start cron
#systemctl start nsd
systemctl link -f $HOME/mailinabox/conf/mailinabox.service
systemctl start mailinabox
systemctl start fail2ban
fi