bla
This commit is contained in:
parent
1b47bdc126
commit
f3ea19f7c3
@ -1,10 +1,5 @@
|
||||
# extra service
|
||||
fail2ban
|
||||
Nextcloud?
|
||||
Dozzle?
|
||||
Grafana
|
||||
|
||||
# Cleanup
|
||||
Fixfail2ban
|
||||
Replace Latest tag with the second to last
|
||||
double check PID1
|
||||
check that everything restarts after crash
|
||||
|
@ -5,7 +5,9 @@ then
|
||||
else
|
||||
sleep 15
|
||||
cd /var/www/nextcloud
|
||||
sudo -u nextcloud ./occ maintenance:install --database='mysql' --database-host="172.20.30.20:3306" --database-name="${NEXTCLOUDDATABASE}" --database-user="${NEXTCLOUDDATABASEUSER}" --database-pass="${NEXTCLOUDDATABASEPASSWD}" --admin-user="${NEXTCLOUDUSER}" --admin-pass="${NEXTCLOUDPASSWD}"
|
||||
chmod +x occ
|
||||
chown -R nobody:nobody /var/www/nextcloud
|
||||
sudo -u nobody ./occ maintenance:install --database='mysql' --database-host="172.20.30.20:3306" --database-name="${NEXTCLOUDDATABASE}" --database-user="${NEXTCLOUDDATABASEUSER}" --database-pass="${NEXTCLOUDDATABASEPASSWD}" --admin-user="${NEXTCLOUDUSER}" --admin-pass="${NEXTCLOUDPASSWD}"
|
||||
sed -i "8i 1 => 'nextcloud.djonker.42.fr'," config/config.php
|
||||
fi
|
||||
php-fpm81 -F -R
|
||||
|
Loading…
Reference in New Issue
Block a user