summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/dmsd/etc/systemd/system/dmsd.service
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_installer/static_files/dmsd/etc/systemd/system/dmsd.service')
-rw-r--r--satellit_installer/static_files/dmsd/etc/systemd/system/dmsd.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/satellit_installer/static_files/dmsd/etc/systemd/system/dmsd.service b/satellit_installer/static_files/dmsd/etc/systemd/system/dmsd.service
new file mode 100644
index 0000000..fdb665c
--- /dev/null
+++ b/satellit_installer/static_files/dmsd/etc/systemd/system/dmsd.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=DMSD is the Dozentenmodul server daemon
+Wants=mysql.service
+After=mysql.service
+
+[Service]
+User=dmsd
+Group=images
+WorkingDirectory=/opt/dmsd
+ExecStart=/opt/dmsd/dmsd.sh
+Restart=always
+RestartSec=5
+SyslogIdentifier=dmsd
+StandardOutput=syslog
+StandardError=syslog
+
+[Install]
+WantedBy=multi-user.target