summaryrefslogtreecommitdiff
path: root/resalloc.service
diff options
context:
space:
mode:
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