summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/slx-admin
diff options
context:
space:
mode:
authorSimon Rettberg2014-10-09 16:51:18 +0200
committerSimon Rettberg2014-10-09 16:51:18 +0200
commit4fc695a67a8d42c562ef9f4b9ef25eb083e533d3 (patch)
tree45bc156a0ae5385ee58e7c78fe1bf3497ef49a78 /satellit_installer/static_files/slx-admin
parent[SSPS] includes/10-script_dropper.inc: -bug set passwd debian-sys-maint (diff)
downloadsetup-scripts-4fc695a67a8d42c562ef9f4b9ef25eb083e533d3.tar.gz
setup-scripts-4fc695a67a8d42c562ef9f4b9ef25eb083e533d3.tar.xz
setup-scripts-4fc695a67a8d42c562ef9f4b9ef25eb083e533d3.zip
Prepare for new slx-admin version; some minor tweaks
- Rename and update taskmanager-init cron file, as it's more related to slx-admin - Add exec call in dmsd and taskmanager launch scripts, saves us two running processes - Limit dmsd and taskmanager to 80MB memory usage
Diffstat (limited to 'satellit_installer/static_files/slx-admin')
-rw-r--r--satellit_installer/static_files/slx-admin8
1 files changed, 8 insertions, 0 deletions
diff --git a/satellit_installer/static_files/slx-admin b/satellit_installer/static_files/slx-admin
new file mode 100644
index 0000000..aa95e02
--- /dev/null
+++ b/satellit_installer/static_files/slx-admin
@@ -0,0 +1,8 @@
+# Trigger taskmanager init on boot
+
+SHELL=/bin/sh
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
+@reboot www-data sleep 15 && php /srv/openslx/www/slx-admin/api.php init > /dev/null 2>&1
+*/5 * * * * www-data php /srv/openslx/www/slx-admin/api.php cron > /dev/null 2>&1
+