Add configuration initialization step
This commit is contained in:
parent
b7720de425
commit
4df82db19e
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue