mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 18:49:30 +00:00
chwon the needed folders
This commit is contained in:
parent
1e9968dcbb
commit
e3a933650a
1 changed files with 3 additions and 0 deletions
|
|
@ -13,6 +13,9 @@ trap stopJD2 EXIT
|
|||
addgroup --gid $GID jdusers
|
||||
useradd -M --uid $UID --gid $GID jduser
|
||||
|
||||
chown -R jduser:jdusers /opt/JDownloader/cfg
|
||||
chown -R jduser:jdusers /root/Downloads
|
||||
|
||||
su jduser -c 'java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar &'
|
||||
|
||||
while true; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue