summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-29 12:26:34 +0100
committerSimon Rettberg2019-10-29 12:26:34 +0100
commit4cc7274de5f83c3fcdd486646b1118ba58874d12 (patch)
treee0711efc3e70d221db81ed910b3d92116d6ee12a /satellit_installer/static_files
parent[SSPS] Update deprecated lighttpd.conf line (diff)
downloadsetup-scripts-4cc7274de5f83c3fcdd486646b1118ba58874d12.tar.gz
setup-scripts-4cc7274de5f83c3fcdd486646b1118ba58874d12.tar.xz
setup-scripts-4cc7274de5f83c3fcdd486646b1118ba58874d12.zip
[SSPS] Move taskmanager.service to file; use launch script
Launch script is now included in taskmanager.tar.gz
Diffstat (limited to 'satellit_installer/static_files')
-rw-r--r--satellit_installer/static_files/taskmanager/taskmanager.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/satellit_installer/static_files/taskmanager/taskmanager.service b/satellit_installer/static_files/taskmanager/taskmanager.service
new file mode 100644
index 0000000..97662cb
--- /dev/null
+++ b/satellit_installer/static_files/taskmanager/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
+