From a3ff6c50756e21796e17371cee43d06c30a96834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@lysator.liu.se> Date: Tue, 9 May 2023 17:58:00 +0200 Subject: [PATCH] Don't run user services as user. --- manifests/user_instance.pp | 1 - 1 file changed, 1 deletion(-) diff --git a/manifests/user_instance.pp b/manifests/user_instance.pp index ff6bb64..7dbf6ca 100644 --- a/manifests/user_instance.pp +++ b/manifests/user_instance.pp @@ -57,7 +57,6 @@ define mpd::user_instance ( exec { "Enable user ${user} mpd instance": command => "systemctl enable --machine=${user}@.host --now --user ${service_name}", creates => "${xdg_config_home}/systemd/user/default.target.wants/mpd.service", - user => $user, path => ['/bin', '/usr/bin'], } -- GitLab