File triggers.systemd-standalone-tmpfiles of Package systemd

#  -*- Mode: rpm-spec; indent-tabs-mode: nil -*-
#  SPDX-License-Identifier: LGPL-2.1-or-later
#
#  This file is part of systemd-tmpfiles.
#  Copyright © 2026 SUSE LLC
#
#  Minimum rpm version supported: 4.15.0
#
#  A basic introduction of rpm file-triggers can be found at
#  https://rpm.org/docs/4.19.x/manual/file_triggers.html
#

%transfiletriggerin -P 1000600 -p <lua> -- /usr/lib/tmpfiles.d
-- This script will process files installed in /usr/lib/tmpfiles.d to create
-- tmpfiles automatically. The priority is set such that it will run
-- after the sysusers file trigger, but before any other triggers.
-- Note: this should be skipped during offline updates.
if posix.access("/run/systemd/system") then
    assert(rpm.execute("systemd-tmpfiles", "--create"))
end
openSUSE Build Service is sponsored by