summaryrefslogtreecommitdiff
path: root/resalloc.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-09 07:10:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-09 07:10:53 +0000
commit7436a908e240b9edcd12c21e90620abdb09f9511 (patch)
treeb59feb31b599077d501bc52e2d7c543c8a248422 /resalloc.service
parent39352f18ea3d446503b2b77e21f3457f5420cf9d (diff)
automatic import of resallocopeneuler23.03
Diffstat (limited to 'resalloc.service')
-rw-r--r--resalloc.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/resalloc.service b/resalloc.service
new file mode 100644
index 0000000..e29ae38
--- /dev/null
+++ b/resalloc.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Resource allocator server
+After=network.target
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=5
+User=resalloc
+Group=resalloc
+
+Environment=CONFIG_DIR=/etc/resallocserver
+ExecStart=/usr/bin/resalloc-server
+
+[Install]
+WantedBy=multi-user.target