summaryrefslogtreecommitdiffstats
path: root/remote/rootfs/rootfs-stage32/data/etc/systemd/system
diff options
context:
space:
mode:
authorJonathan Bauer2013-08-22 15:27:59 +0200
committerJonathan Bauer2013-08-22 15:27:59 +0200
commitb195ea20a53c5c7c5c5cbc19aefdba7e70588e51 (patch)
tree1ec24d58a41d5ecea1b7a2d181ea95e36facceca /remote/rootfs/rootfs-stage32/data/etc/systemd/system
parent[rootfs-stage31] removed sourcing of /etc/functions.inc since it suffices to ... (diff)
downloadtm-scripts-b195ea20a53c5c7c5c5cbc19aefdba7e70588e51.tar.gz
tm-scripts-b195ea20a53c5c7c5c5cbc19aefdba7e70588e51.tar.xz
tm-scripts-b195ea20a53c5c7c5c5cbc19aefdba7e70588e51.zip
[rootfs-stage32] new service to setup slx addons separatly. Adapted systemd-setup_slx_addons to either go through all the addons found in the config file if no argument is given, or to setup one addon if one argument is given. That way we can see if/which addons are set up and/or which failed.
Diffstat (limited to 'remote/rootfs/rootfs-stage32/data/etc/systemd/system')
-rw-r--r--remote/rootfs/rootfs-stage32/data/etc/systemd/system/setup-slx-addon@.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/etc/systemd/system/setup-slx-addon@.service b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/setup-slx-addon@.service
new file mode 100644
index 00000000..20909813
--- /dev/null
+++ b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/setup-slx-addon@.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Setup SLX addon %i
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-setup_slx_addons %I
+RemainAfterExit=yes