Update 'start.sh'

This commit is contained in:
dimon 2023-07-17 19:35:43 +00:00
parent 919700abcd
commit 1dfee27beb

View File

@ -1,14 +1,3 @@
#!/bin/bash
# Prepare
apt update && apt upgrade -y && apt install -y nano cron wget aria2 unzip imagemagick
# Enable www-data
chsh -s /bin/bash www-data
# Start self-made cron
sh /home/nextcloud-cron.sh &
# Startup
runuser -l www-data -c 'aria2c --daemon=true --console-log-level=warn --enable-rpc --rpc-listen-all --conf-path=/home/aria2.daemon'
sh /entrypoint.sh 'apache2-foreground'
service apache2 start
/bin/sh