summaryrefslogtreecommitdiff
path: root/modules/profiles/manifests/workstation/archlinux.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles/manifests/workstation/archlinux.pp')
-rw-r--r--modules/profiles/manifests/workstation/archlinux.pp2
1 files changed, 1 insertions, 1 deletions
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',