diff --git a/etc/systemd/system/drone.service b/etc/systemd/system/drone.service index 01a80be..85cc514 100644 --- a/etc/systemd/system/drone.service +++ b/etc/systemd/system/drone.service @@ -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