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
commitbc74010389808007d7543e6a2ed4ce5b1469b48e (patch)
treee407edfb25a2f012fda1c0dbbd517d1defb34a26 /resalloc-agent-spawner.service
parent63a1ab5283de55aa78d7b3cf52be3f3a22a6dd0f (diff)
automatic import of resalloc
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