Clean up /run/ at startup and move the directory creation logic to each service

This commit is contained in:
Héctor Molinero Fernández
2024-07-22 17:27:13 +02:00
parent f70e8725c0
commit 4f81948637
4 changed files with 13 additions and 20 deletions

View File

@@ -2,5 +2,9 @@
set -eu
if [ ! -d /run/udev/ ]; then
install -m 755 -o root -g root -d /run/udev/
fi
exec 2>&1
exec /lib/systemd/systemd-udevd