mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-10-02 18:14:28 +02:00
Compare commits
2
Commits
99f1939b73
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
652eb7c5fc | ||
|
|
e3eb14ec17 |
No files matched your search
@@ -127,6 +127,7 @@ def send_to_archivebox(url):
|
|||||||
"-f",
|
"-f",
|
||||||
f"{DOCKER_COMPOSE_DIR}/compose.yml",
|
f"{DOCKER_COMPOSE_DIR}/compose.yml",
|
||||||
"run",
|
"run",
|
||||||
|
"--rm", # remove the one-off container. Before this, my vps filed all its disk space.
|
||||||
"-T",
|
"-T",
|
||||||
"archivebox",
|
"archivebox",
|
||||||
"archivebox",
|
"archivebox",
|
||||||
|
|||||||
@@ -8,8 +8,9 @@ Type=simple
|
|||||||
User=root
|
User=root
|
||||||
ExecStart=/usr/bin/rclone mount kdrive: /mnt/kdrive \
|
ExecStart=/usr/bin/rclone mount kdrive: /mnt/kdrive \
|
||||||
--allow-other \
|
--allow-other \
|
||||||
|
--allow-non-empty \
|
||||||
--vfs-cache-mode full \
|
--vfs-cache-mode full \
|
||||||
--dir-cache-time 1h
|
--dir-cache-time 15m
|
||||||
ExecStop=/bin/fusermount -u /mnt/kdrive
|
ExecStop=/bin/fusermount -u /mnt/kdrive
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|||||||
Reference in new issue
Block a user