summaryrefslogtreecommitdiff
path: root/resalloc-agent-spawner.service
diff options
context:
space:
mode:
Diffstat (limited to 'resalloc-agent-spawner.service')
-rw-r--r--resalloc-agent-spawner.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/resalloc-agent-spawner.service b/resalloc-agent-spawner.service
new file mode 100644
index 0000000..b4bb2c6
--- /dev/null
+++ b/resalloc-agent-spawner.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Start self-stending agent-like resources using Resalloc
+After=syslog.target network.target auditd.service
+
+[Service]
+Type=simple
+User=resalloc
+Group=resalloc
+ExecStart=/usr/bin/resalloc-agent-spawner
+# we don't want to kill background action processors (daemoncontext)
+KillMode=process
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target