mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 16:56:19 +00:00
40 lines
1.3 KiB
Bash
Executable file
40 lines
1.3 KiB
Bash
Executable file
#!/bin/bash
|
|
# Script to initialize khanat server
|
|
#
|
|
# Copyright (C) 2017 AleaJactaEst
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# /opt/dist/docker/server/init-khanat.sh
|
|
|
|
/opt/serverimage_init_basic.sh || exit 2
|
|
# /opt/serverimage_configure_environment.sh || exit 2
|
|
/opt/serverimage_install_package.sh || exit 2
|
|
/opt/serverimage_configure_apache.sh || exit 2
|
|
/opt/serverimage_configure_database.sh || exit 2
|
|
/opt/serverimage_initialize_khanat_server.sh || exit 2
|
|
/opt/serverimage_initialize_patch_server.sh || exit 2
|
|
/opt/serverimage_prepare_khanat_client.sh || exit 2
|
|
|
|
|
|
#
|
|
# Stop All
|
|
#
|
|
|
|
service ssh stop || exit 2
|
|
service apache2 stop|| exit 2
|
|
service mysql stop || exit 2
|
|
|
|
exit 0
|
|
|