-
-
Save noogen/174479ba7c78a5d8944e3f28edc90c50 to your computer and use it in GitHub Desktop.
my-startup.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # re-enable phpmyadmin and phppgadmin | |
| # rsync -a /etc/apache2/conf-d/php*.conf /etc/apache2/conf.d | |
| # required startup and of course vesta | |
| cd /etc/init.d/ | |
| ./disable-transparent-hugepages defaults | |
| # the 5 services below are enabled to support mininum default backup job | |
| ./apache2 start \ | |
| && ./mysql start | |
| # delete defult postgres admindb if not use, then comment out the line below | |
| ./postgresql start | |
| ./nginx start | |
| ./vesta start | |
| # if you run it like this, you can see the error | |
| ./exim4 start || true | |
| ./dovecot start || true | |
| ./clamav-daemon start || true | |
| ./spamassassin start || true | |
| ./php7.1-fpm start || true | |
| exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment