summaryrefslogtreecommitdiffstats
path: root/systemd/xen-orchestra.service
diff options
context:
space:
mode:
authorGeorg2021-07-21 12:47:30 +0200
committerGeorg2021-07-21 12:47:30 +0200
commitb3cac70a7fd19c1f3e9aae6ac4fea528d7a85865 (patch)
tree6431154e8ea0e33e5f28d1302d20fdf9062f6a52 /systemd/xen-orchestra.service
parenta7b59a951b5b884bb2ba0fd1105918d2d5150fcd (diff)
downloadsystem-b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865.tar.gz
system-b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865.tar.bz2
system-b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865.zip
Initial Systemd Service Run: 2/3
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'systemd/xen-orchestra.service')
-rw-r--r--systemd/xen-orchestra.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/systemd/xen-orchestra.service b/systemd/xen-orchestra.service
new file mode 100644
index 0000000..766eae1
--- /dev/null
+++ b/systemd/xen-orchestra.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Xen-Orchestra
+After=redis@xen-orchestra.service
+Wants=network.target redis@xen-orchestra.service
+
+[Service]
+User=xo
+Group=xo
+ENVIRONMENT=NODE_ENV=PRODUCTION
+ExecStart=/opt/xen-orchestra/start.sh
+Restart=always
+RestartSec=15
+SyslogIdentifier=orchestra
+
+[Install]
+WantedBy=multi-user.target