blob: 352569cb0585801662dd789635fae0a051d70f57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=Convenience launch service for Sabnzd, Nzbhydra2 and Sonarr in docker
After=network.target
After=docker.service
After=sabnzbd-docker-update.service
PartOf=sabnzbd-docker-update.service
[Service]
EnvironmentFile=/opt/docker-sabnzbd/default.env
EnvironmentFile=%h/.docker-sabnzbd.env
Environment="PUID=%U"
Environment="PGID=%G"
ExecStart=docker compose -f /opt/docker-sabnzbd/docker-compose.yaml up
ExecStop=docker compose -f /opt/docker-sabnzbd/docker-compose.yaml down
[Install]
WantedBy=default.target
|