summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-08-31 14:23:51 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2021-08-31 14:23:51 +0200
commitcee86e5049af5a8dae713e4d93b7e2c64a1eb7ba (patch)
tree1e7e0886b1db09efd827e78903d596b8d158fa9f
parentSet up webdav server. (diff)
downloadwebdav_server-cee86e5049af5a8dae713e4d93b7e2c64a1eb7ba.tar.gz
webdav_server-cee86e5049af5a8dae713e4d93b7e2c64a1eb7ba.tar.xz
Fix systemd command.
-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',