mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-05 00:27:25 +00:00
17 lines
406 B
Bash
Executable File
17 lines
406 B
Bash
Executable File
#!/bin/bash
|
|
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 $(pwd)/conf/mailinabox.service
|
|
systemctl start mailinabox
|
|
systemctl start fail2ban
|
|
fi
|
|
|