From 1dfee27bebe3257900e577ab3db07736471c0ec8 Mon Sep 17 00:00:00 2001 From: dimon Date: Mon, 17 Jul 2023 19:35:43 +0000 Subject: [PATCH] Update 'start.sh' --- start.sh | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/start.sh b/start.sh index fcb96ce..9d6cefe 100644 --- a/start.sh +++ b/start.sh @@ -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' \ No newline at end of file +service apache2 start +/bin/sh