From d74fc097eb7efe95f564f76fdc11a65eb72374a3 Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Sat, 11 Nov 2023 04:04:58 +0100 Subject: [PATCH] refactor(os): Be specific with systemd unit names (#19) --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 601358e..0424583 100644 --- a/setup.sh +++ b/setup.sh @@ -1431,7 +1431,7 @@ function configure_dns () { # Optionally you may want /etc/systemd/network/50-wired.network to use # UseDNS=no and hardcode DNS server(s) here: # sed -i 's/^#DNS=.*/DNS=1.1.1.1/' /mnt/etc/systemd/resolved.conf - systemctl enable 'systemd-resolved' --root='/mnt' + systemctl enable 'systemd-resolved.service' --root='/mnt' } function configure_reflector () { @@ -1441,7 +1441,7 @@ function configure_reflector () { function configure_zfs () { #3.6 - systemctl enable 'zfs-import-cache' 'zfs-mount' 'zfs-import.target' 'zfs.target' --root='/mnt' + systemctl enable 'zfs-import-cache.service' 'zfs-mount.service' 'zfs-import.target' 'zfs.target' --root='/mnt' } function configure_zfs_mount_gen () {