I’m new to Scale and finally have all the apps setup the way I want. The problem I’m running into is that any Custom Apps or YAML-installed custom apps either show as “crashed” or “stopped” after a system reboot.
qbittorrent (installed via YAML) crashed- shows normal log until:
2025-01-31 22:08:06.082313+00:00Catching signal: SIGTERM
2025-01-31 22:08:06.082336+00:00Exiting cleanly
Where did SIGTERM come from?
idrive (installed via Custom App) crashed- shows nothing too useful (although last reboot showed “idrivecron” not found")
2025-01-31 22:42:49.950635+00:00/opt/IDriveForLinux/idriveIt exists and is not empty.
2025-01-31 22:42:50.021797+00:00* Starting idrivecron
2025-01-31 22:42:50.021830+00:002025-01-31T22:42:50.021830082Z
gluetun (installed via YAML) is always stopped on system reboot, here is my code:
services:
gluetun:
cap_add:
- NET_ADMIN
container_name: gluetun
environment:
- VPN_TYPE=wireguard
- VPN_SERVICE_PROVIDER=redacted
- WIREGUARD_PRIVATE_KEY=redacted
- WIREGUARD_ADDRESSES=redacted
- WIREGUARD_PUBLIC_KEY=redacted
- WIREGUARD_ENDPOINT_IP=redacted
image: qmcgaw/gluetun
ports:
- 8888:8888/tcp
- 8388:8388/tcp
- 8388:8388/udp
- '8080:8080'
- '6881:6881'
- 6881:6881/udp
volumes:
- /mnt/zfsdrive/Docker_Data/gluetun:/gluetun
version: '3'
All apps deploy just fine when I manually start them. Any ideas how to fix this? Am I missing some code on my YAML installs, or an environmental variable on the “Custom App?” Is there any workaround, like calling a Truenas cron “docker start” or restart a certain period of time after a system reboot?