summaryrefslogtreecommitdiff
path: root/resalloc.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-21 08:32:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-21 08:32:20 +0000
commit795c7b002c16f0ca9cda0cbd7d196700864a0d31 (patch)
tree707f445f30670ab7f06c808a7ee0710a33425b5f /resalloc.service
parent39352f18ea3d446503b2b77e21f3457f5420cf9d (diff)
automatic import of resalloc
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