summaryrefslogtreecommitdiff
path: root/build-knecht.service
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-07-04 19:38:52 +0200
committerErich Eckner <git@eckner.net>2021-07-04 19:38:52 +0200
commitfb5b95bf29dba5d213a19cf65d95f90ed437a9c6 (patch)
treeceb733db4600acb3cefbe5c9460dadb13a80916f /build-knecht.service
parent9b74e4da0e44ee22a7de4d1a7cd51cec64e07544 (diff)
downloadbuild-knecht-fb5b95bf29dba5d213a19cf65d95f90ed437a9c6.tar.xz
run in screen
Diffstat (limited to 'build-knecht.service')
-rw-r--r--build-knecht.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-knecht.service b/build-knecht.service
index ccd5fa2..bc8a09c 100644
--- a/build-knecht.service
+++ b/build-knecht.service
@@ -3,9 +3,9 @@ Description=Build-Knecht
[Service]
User=makepkg
-ExecStart=/usr/src/build-knecht/build-knecht
-Restart=on-success
-RestartSec=60
+ExecStart=/usr/bin/screen -d -m /usr/src/build-knecht/build-knecht
+Type=oneshot
+RemainAfterExit=yes
[Install]
WantedBy=multi-user.target