summaryrefslogtreecommitdiff
path: root/src/core/triggers.systemd.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/triggers.systemd.in')
-rw-r--r--src/core/triggers.systemd.in29
1 files changed, 7 insertions, 22 deletions
diff --git a/src/core/triggers.systemd.in b/src/core/triggers.systemd.in
index c582d40977..10b1889b57 100644
--- a/src/core/triggers.systemd.in
+++ b/src/core/triggers.systemd.in
@@ -2,22 +2,7 @@
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
-#
-# Copyright 2015 Zbigniew Jędrzejewski-Szmek
-# Copyright 2018 Neal Gompa
-#
-# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-#
-# systemd is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+# Copyright © 2018 Neal Gompa
# The contents of this are an example to be copied into systemd.spec.
#
@@ -84,7 +69,7 @@ if posix.access("/run/systemd/system") then
end
end
-%transfiletriggerin -P 100500 -- @tmpfilesdir@
+%transfiletriggerin -P 100500 -p <lua> -- @tmpfilesdir@
-- This script will process files installed in @tmpfilesdir@ to create
-- tmpfiles automatically. The priority is set such that it will run
-- after the sysusers file trigger, but before any other triggers.
@@ -97,7 +82,7 @@ if posix.access("/run/systemd/system") then
end
end
-%transfiletriggerin -- @udevhwdbdir@
+%transfiletriggerin -p <lua> -- @udevhwdbdir@
-- This script will automatically invoke hwdb update if files have been
-- installed or updated in @udevhwdbdir@.
if posix.access("/run/systemd/system") then
@@ -109,7 +94,7 @@ if posix.access("/run/systemd/system") then
end
end
-%transfiletriggerin -- @catalogdir@
+%transfiletriggerin -p <lua> -- @catalogdir@
-- This script will automatically invoke journal catalog update if files
-- have been installed or updated in @catalogdir@.
if posix.access("/run/systemd/system") then
@@ -121,7 +106,7 @@ if posix.access("/run/systemd/system") then
end
end
-%transfiletriggerin -- @udevrulesdir@
+%transfiletriggerin -p <lua> -- @udevrulesdir@
-- This script will automatically update udev with new rules if files
-- have been installed or updated in @udevrulesdir@.
if posix.access("/run/systemd/system") then
@@ -133,7 +118,7 @@ if posix.access("/run/systemd/system") then
end
end
-%transfiletriggerin -- @sysctldir@
+%transfiletriggerin -p <lua> -- @sysctldir@
-- This script will automatically apply sysctl rules if files have been
-- installed or updated in @sysctldir@.
if posix.access("/run/systemd/system") then
@@ -145,7 +130,7 @@ if posix.access("/run/systemd/system") then
end
end
-%transfiletriggerin -- @binfmtdir@
+%transfiletriggerin -p <lua> -- @binfmtdir@
-- This script will automatically apply binfmt rules if files have been
-- installed or updated in @binfmtdir@.
if posix.access("/run/systemd/system") then