From b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865 Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 12:47:30 +0200 Subject: Initial Systemd Service Run: 2/3 Signed-off-by: Georg --- systemd/xen-orchestra.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 systemd/xen-orchestra.service (limited to 'systemd/xen-orchestra.service') 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 -- cgit v1.2.3