add deluge role

This commit is contained in:
Clément Désiles
2026-09-18 15:24:18 +02:00
parent 30480f61d5
commit 501671770f
8 changed files with 346 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=Deluge BitTorrent Client
[Service]
Type=notify
NotifyAccess=all
WorkingDirectory={{ podman_projects_dir | default('/opt/podman') }}/deluge
ExecStart=/usr/bin/podman kube play --replace --service-container=true --network=pasta:--map-host-loopback={{ podman_gw_gateway }} deluge.yaml
ExecStop=/usr/bin/podman kube down deluge.yaml
Restart=on-failure
RestartSec=10
TimeoutStartSec=180
[Install]
WantedBy=default.target