summaryrefslogtreecommitdiffstats
path: root/core/modules/apply-slx-vars/data/etc
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/apply-slx-vars/data/etc')
-rw-r--r--core/modules/apply-slx-vars/data/etc/systemd/system/apply-slx-vars.service10
l---------core/modules/apply-slx-vars/data/etc/systemd/system/basic.target.wants/apply-slx-vars.service1
2 files changed, 11 insertions, 0 deletions
diff --git a/core/modules/apply-slx-vars/data/etc/systemd/system/apply-slx-vars.service b/core/modules/apply-slx-vars/data/etc/systemd/system/apply-slx-vars.service
new file mode 100644
index 00000000..b5d3c7d8
--- /dev/null
+++ b/core/modules/apply-slx-vars/data/etc/systemd/system/apply-slx-vars.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Apply SLX_* config var settings
+DefaultDependencies=no
+RefuseManualStart=true
+Before=basic.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+ExecStart=/opt/openslx/scripts/apply-slx-vars
diff --git a/core/modules/apply-slx-vars/data/etc/systemd/system/basic.target.wants/apply-slx-vars.service b/core/modules/apply-slx-vars/data/etc/systemd/system/basic.target.wants/apply-slx-vars.service
new file mode 120000
index 00000000..531a34fb
--- /dev/null
+++ b/core/modules/apply-slx-vars/data/etc/systemd/system/basic.target.wants/apply-slx-vars.service
@@ -0,0 +1 @@
+../apply-slx-vars.service \ No newline at end of file