Code: Select all
chienb@seedbox:~$ id
uid=1000(chienb) gid=1000(chienb) groups=1000(chienb),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),114(lpadmin),115(sambashare),129(docker)
Code: Select all
chienb@seedbox:~/docker/deluge/config$ ls -la
total 3376
drwxrwxrwx 7 root root 4096 Aug 21 23:28 .
drwxrwxrwx 4 root root 4096 Aug 19 15:02 ..
-rwxrwxrwx 1 root root 56 Aug 19 15:03 auth
-rw-rw-r-- 1 chienb chienb 2511 Aug 21 23:28 core.conf
-rw-rw-r-- 1 chienb chienb 2511 Aug 21 23:28 core.conf~
-rwxrwxrwx 1 root root 1976 Aug 21 23:31 deluged.log
-rw-rw-r-- 1 chienb chienb 10 Aug 21 23:28 deluged.pid
-rwxrwxrwx 1 root root 249 Aug 20 10:11 d-postprocess.sh
-rw-rw-r-- 1 chienb chienb 183 Aug 21 19:34 execute.conf
-rwxrwxrwx 1 root root 183 Aug 21 19:32 execute.conf~
-rwxrwxrwx 1 root root 168 Aug 19 15:03 hostlist.conf.1.2
drwxrwxrwx 2 root root 4096 Aug 19 15:03 icons
drwxrwxr-x 2 chienb chienb 4096 Aug 21 23:28 openvpn
-rwxrwxrwx 1 root root 162 Aug 19 15:02 perms.txt
drwxrwxrwx 2 root root 4096 Aug 19 15:03 plugins
drwxrwxrwx 2 root root 4096 Aug 19 15:03 ssl
drwxrwxrwx 2 root root 4096 Aug 21 23:31 state
-rwxrwxrwx 1 root root 3373584 Aug 21 23:32 supervisord.log
-rwxrwxrwx 1 chienb chienb 60 Aug 20 11:14 test.sh
-rwxrwxrwx 1 root root 671 Aug 19 15:03 web.conf
Code: Select all
#!/bin/bash
echo "test123:" $1 >> test.txt
date >> test.txt
Code: Select all
docker run --restart always \
--cap-add=NET_ADMIN \
-p 8112:8112 \
-p 8118:8118 \
-p 58846:58846 \
-p 58946:58946 \
--name=delugevpn \
-v /home/chienb/docker/deluge/config:/config \
-v /etc/localtime:/etc/localtime:ro \
-v /media/chienb/plex:/media/chienb/plex \
-e VPN_ENABLED=yes \
-e VPN_USER=xxx \
-e VPN_PASS=xxx \
-e VPN_PROV=pia \
-e STRICT_PORT_FORWARD=yes \
-e ENABLE_PRIVOXY=no \
-e LAN_NETWORK=192.168.1.89/24 \
-e NAME_SERVERS=209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4 \
-e DEBUG=true \
-e UMASK=002 \
-e PUID=1000 \
-e PGID=1000 \
binhex/arch-delugevpn
Code: Select all
[ERROR ] 23:50:21 core:154 [execute] Execute script not found or not executable
[INFO ] 23:50:21 torrentmanager:555 Torrent The.Private.Life.of.Sherlock.Holmes.1970.720p.BluRay.H264.AAC-RARBG added by user: localclient