summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/taskmanager/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_installer/static_files/taskmanager/etc/systemd')
l---------satellit_installer/static_files/taskmanager/etc/systemd/system/multi-user.target.wants/taskmanager.service1
-rw-r--r--satellit_installer/static_files/taskmanager/etc/systemd/system/taskmanager.service17
2 files changed, 18 insertions, 0 deletions
diff --git a/satellit_installer/static_files/taskmanager/etc/systemd/system/multi-user.target.wants/taskmanager.service b/satellit_installer/static_files/taskmanager/etc/systemd/system/multi-user.target.wants/taskmanager.service
new file mode 120000
index 0000000..141a3f2
--- /dev/null
+++ b/satellit_installer/static_files/taskmanager/etc/systemd/system/multi-user.target.wants/taskmanager.service
@@ -0,0 +1 @@
+../taskmanager.service \ No newline at end of file
diff --git a/satellit_installer/static_files/taskmanager/etc/systemd/system/taskmanager.service b/satellit_installer/static_files/taskmanager/etc/systemd/system/taskmanager.service
new file mode 100644
index 0000000..97662cb
--- /dev/null
+++ b/satellit_installer/static_files/taskmanager/etc/systemd/system/taskmanager.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=bwLehrpool Taskmanager
+
+[Service]
+User=taskmanager
+Group=taskmanager
+WorkingDirectory=/opt/taskmanager/
+ExecStart=/opt/taskmanager/taskmanager.sh
+Restart=always
+RestartSec=5
+SyslogIdentifier=taskmanager
+StandardOutput=syslog
+StandardError=syslog
+
+[Install]
+WantedBy=multi-user.target
+