aboutsummaryrefslogtreecommitdiff
path: root/unitfiles
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-16 19:20:22 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-16 19:20:22 +0200
commitfb4656956c2e6fa726aef3946b5cdac5e7b92ee1 (patch)
tree9f20040f6ff194413ea94216d9aabcb1393d0448 /unitfiles
parentd75adf324cb1badb832b7c65bf9ffbaafe115bc1 (diff)
downloadaurbuilder-fb4656956c2e6fa726aef3946b5cdac5e7b92ee1.tar.gz
unitfiles and scripts
Diffstat (limited to 'unitfiles')
-rw-r--r--unitfiles/aurbuilder-container.service11
-rw-r--r--unitfiles/aurbuilder-package.service11
2 files changed, 22 insertions, 0 deletions
diff --git a/unitfiles/aurbuilder-container.service b/unitfiles/aurbuilder-container.service
new file mode 100644
index 0000000..de0232b
--- /dev/null
+++ b/unitfiles/aurbuilder-container.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=aurbuilder Container build job
+
+[Service]
+Type=simple
+User=aurbuilder
+Group=aurbuilder
+ExecStart=/usr/lib/aurbuilder/build_container.sh
+Restart=no
+StartLimitInterval=10min
+StartLimitBurst=8
diff --git a/unitfiles/aurbuilder-package.service b/unitfiles/aurbuilder-package.service
new file mode 100644
index 0000000..228e87a
--- /dev/null
+++ b/unitfiles/aurbuilder-package.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=aurbuilder Package build job
+
+[Service]
+Type=simple
+User=aurbuilder
+Group=aurbuilder
+ExecStart=/usr/lib/aurbuilder/build_packages.sh
+Restart=no
+StartLimitInterval=10min
+StartLimitBurst=8