From 0747bb247b506e51816087f739088542cc980134 Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 28 Sep 2022 16:31:19 +0200 Subject: [PATCH] systemd: increase restart timeout to 15s --- etc/systemd/system/drone.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/systemd/system/drone.service b/etc/systemd/system/drone.service index 942e797..8b035aa 100644 --- a/etc/systemd/system/drone.service +++ b/etc/systemd/system/drone.service @@ -8,7 +8,8 @@ Upholds=nginx.service docker.service Slice=drone.slice Delegate=no Restart=always -RestartSec=5 +RestartSec=15s + Environment=COMPOSE_FILE=/etc/drone/docker-compose.yml ExecStart=/usr/bin/docker-compose -p drone -f ${COMPOSE_FILE} up --remove-orphans ExecStop=/usr/bin/docker-compose -p drone -f ${COMPOSE_FILE} stop