fix(os): After adding new systemd unit files we need to daemon-reload (#1)

This commit is contained in:
hygienic-books 2023-02-21 03:39:18 +01:00
parent 97bebe9a99
commit 8aa2f6ea44

View File

@ -416,7 +416,7 @@ Description=chmod initramfs to be root-read-writable only
Type=oneshot
ExecStart=/usr/bin/chmod 600 /boot/initramfs-linux.img
EOF
systemctl daemon-reload
systemctl enable --now "${path_unit}"
}