systemd: increase restart timeout to 15s

This commit is contained in:
surtur 2022-09-28 16:31:19 +02:00
parent 1687d49526
commit 0747bb247b
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -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