summaryrefslogtreecommitdiff
path: root/resalloc-agent-spawner.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-12 12:21:32 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-12 12:21:32 +0000
commitb2f960cf8e66c3c2841ffd2391e1cfc3742b7a00 (patch)
treee407edfb25a2f012fda1c0dbbd517d1defb34a26 /resalloc-agent-spawner.service
parentf218c22f9c55aa723f02491622b71b91187f0b6b (diff)
automatic import of resallocopeneuler22.03_LTS_SP4
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