From cee86e5049af5a8dae713e4d93b7e2c64a1eb7ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 31 Aug 2021 14:23:51 +0200 Subject: Fix systemd command. --- modules/profiles/manifests/workstation/archlinux.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/profiles/manifests/workstation/archlinux.pp b/modules/profiles/manifests/workstation/archlinux.pp index 8534da0..963f4df 100644 --- a/modules/profiles/manifests/workstation/archlinux.pp +++ b/modules/profiles/manifests/workstation/archlinux.pp @@ -16,7 +16,7 @@ class profiles::workstation::archlinux { pacman::hook { 'systemd daemon-reload': description => 'Reload systemd user daemon', - exec => '/bin/sudo -Hu hugo systemctl --user daemon-reload', + exec => '/bin/sudo systemctl --machine=hugo@.host --user daemon-reload', when => 'PostTransaction', trigger => { operation => 'Upgrade', -- cgit v1.2.3