run service with "--remove-orphans"
This commit is contained in:
parent
358a77d168
commit
1d34e711f6
@ -8,7 +8,7 @@ Slice=drone.slice
|
|||||||
Delegate=yes
|
Delegate=yes
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
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
|
ExecStop=/usr/bin/docker-compose -p drone -f /etc/drone/docker-compose.yml stop
|
||||||
|
|
||||||
Nice=-14
|
Nice=-14
|
||||||
|
Loading…
Reference in New Issue
Block a user