run service with "--remove-orphans"

This commit is contained in:
surtur 2022-04-20 16:49:23 +02:00
parent 358a77d168
commit 1d34e711f6
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -8,7 +8,7 @@ Slice=drone.slice
Delegate=yes
Restart=always
RestartSec=5
ExecStart=/usr/bin/docker-compose -p drone -f /etc/drone/docker-compose.yml up
ExecStart=/usr/bin/docker-compose -p drone -f /etc/drone/docker-compose.yml up --remove-orphans
ExecStop=/usr/bin/docker-compose -p drone -f /etc/drone/docker-compose.yml stop
Nice=-14