Add configuration initialization step

This commit is contained in:
Miraty 2023-05-19 01:01:49 +02:00
parent b7720de425
commit 4df82db19e
2 changed files with 4 additions and 1 deletions

View file

@ -16,10 +16,10 @@ useradd -U -r -s $(which nologin) $sftpgo
useradd -U -r -s $(which nologin) $apache
# Execute installation steps
source /install/servnest.sh
source /install/sudo.sh
source /install/tor.sh
source /install/knot.sh
source /install/servnest.sh
source /install/php.sh
source /install/nginx.sh
source /install/apache.sh

View file

@ -1,5 +1,8 @@
#!/usr/bin/bash
# Initialize configuration
cp /srv/servnest/core/config.template.ini /srv/servnest/core/config.ini
# Create database
sqlite3 /srv/servnest/core/db/servnest.db < /srv/servnest/core/db/schema.sql