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:
16
tools/startup.sh
Executable file
16
tools/startup.sh
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user