summaryrefslogtreecommitdiff
path: root/units/init-conf.service.m4
diff options
context:
space:
mode:
Diffstat (limited to 'units/init-conf.service.m4')
-rw-r--r--units/init-conf.service.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/units/init-conf.service.m4 b/units/init-conf.service.m4
new file mode 100644
index 0000000..0723574
--- /dev/null
+++ b/units/init-conf.service.m4
@@ -0,0 +1,17 @@
+[Unit]
+Description=Run init.%H.conf
+DefaultDependencies=no
+After=local-fs.target
+Conflicts=shutdown.target
+Before=sysinit.target shutdown.target
+ConditionFileNotEmpty=/etc/init.%H.conf
+
+[Service]
+Type=oneshot
+ExecStart=/bin/bash -c '/etc/init.%H.conf'
+m4_ifdef(`SMACK_LABEL',
+SmackProcessLabel=system-plugin-common::script
+)m4_dnl
+
+[Install]
+WantedBy=sysinit.target