Update 'start.sh'
This commit is contained in:
parent
919700abcd
commit
1dfee27beb
15
start.sh
15
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'
|
||||
service apache2 start
|
||||
/bin/sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user