Merge branch 'master' of github.com:vishap/scripts
This commit is contained in:
8
bin/docker-calibre.sh
Executable file
8
bin/docker-calibre.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
sudo docker create \
|
||||
--name=calibre --restart=always \
|
||||
-v /srv/calibre/books:/books \
|
||||
-v /srv/calibre/config:/calibre-web/config \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
-e PGID=33 -e PUID=33 -p 8095:8083 \
|
||||
technosoft2000/calibre-web
|
||||
|
||||
15
bin/docker-gerbera.sh
Executable file
15
bin/docker-gerbera.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
docker run \
|
||||
-d \
|
||||
--net=host \
|
||||
--name gerbera \
|
||||
--hostname gerbera \
|
||||
--restart always \
|
||||
--volume /srv/gerbera/config:/root/.config \
|
||||
--volume /srv/gerbera/books:/books \
|
||||
--volume /srv/gerbera/music:/music \
|
||||
--volume /srv/gerbera/video:/video \
|
||||
--volume /mnt/hdd/download/movies:/hdd_video2 \
|
||||
--volume /mnt/hdd2/public/movies:/hdd_video \
|
||||
--volume /mnt/hdd/public/music:/hdd_music \
|
||||
gerbera/gerbera
|
||||
|
||||
1
bin/lsync.sh
Executable file
1
bin/lsync.sh
Executable file
@@ -0,0 +1 @@
|
||||
rsync -av --progress --inplace --append-verify --remove-source-files -e "ssh -p 24" /mnt/ssd/deluge/done/$1 lusntag.vostan.org:/mnt/home/vahagn/tmp/tmp
|
||||
10
bin/upload.ready.deluge.sh
Executable file
10
bin/upload.ready.deluge.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
set -x
|
||||
if [ ! -z "$*" ]; then
|
||||
for i in "$@"; do
|
||||
/usr/bin/rsync -av --inplace --progress --append-verify "/mnt/ssd/deluge/done/$i" "hrat:tmp/tmp/done/"
|
||||
done
|
||||
else
|
||||
echo "/usr/bin/rsync -av --inplace --append-verify /mnt/ssd/deluge/done hrat:tmp/tmp"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user