From 58f01ad6ef5cbfb60c7b867c48ba4f49a201a363 Mon Sep 17 00:00:00 2001 From: Georg Date: Thu, 12 Aug 2021 21:37:51 +0200 Subject: Init Signed-off-by: Georg --- Drone/drone-runner-exec/drone-runner-exec.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Drone/drone-runner-exec/drone-runner-exec.service (limited to 'Drone/drone-runner-exec/drone-runner-exec.service') diff --git a/Drone/drone-runner-exec/drone-runner-exec.service b/Drone/drone-runner-exec/drone-runner-exec.service new file mode 100644 index 0000000..8c8607f --- /dev/null +++ b/Drone/drone-runner-exec/drone-runner-exec.service @@ -0,0 +1,14 @@ +[Unit] +Description=Drone Exec Runner + +[Service] +User=drone +Group=drone +StartLimitInterval=5 +StartLimitBurst=10 +ExecStart=/opt/drone/bin/drone-runner-exec "service" "run" "--config" "/opt/drone/.drone-runner-exec/config" +Restart=always +RestartSec=120 + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3