mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-04-01 14:23:06 +01:00
Delete 30-config
This commit is contained in:
@@ -1,27 +0,0 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
|
||||||
|
|
||||||
# delete lock file if found
|
|
||||||
[[ -f /downloads/nzbget.lock ]] && \
|
|
||||||
rm /downloads/nzbget.lock
|
|
||||||
|
|
||||||
# check if config file exists in /config
|
|
||||||
[[ ! -f /config/nzbget.conf ]] && \
|
|
||||||
cp /defaults/nzbget.conf /config/nzbget.conf
|
|
||||||
|
|
||||||
# permissions
|
|
||||||
chown 1000:1000 \
|
|
||||||
/downloads
|
|
||||||
chown 1000:1000 -R \
|
|
||||||
/app/nzbget \
|
|
||||||
/config
|
|
||||||
chmod u+rw \
|
|
||||||
/config/nzbget.conf
|
|
||||||
|
|
||||||
chmod 777 -R \
|
|
||||||
/config
|
|
||||||
chmod 777 -R \
|
|
||||||
/app/nzbget
|
|
||||||
chmod 777 -R \
|
|
||||||
/downloads
|
|
||||||
|
|
||||||
exec /config/installer/installer.sh
|
|
||||||
Reference in New Issue
Block a user