Skip to content
Snippets Groups Projects
Commit a3ff6c50 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Don't run user services as user.

parent 1ff380b3
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,6 @@ define mpd::user_instance ( ...@@ -57,7 +57,6 @@ define mpd::user_instance (
exec { "Enable user ${user} mpd instance": exec { "Enable user ${user} mpd instance":
command => "systemctl enable --machine=${user}@.host --now --user ${service_name}", command => "systemctl enable --machine=${user}@.host --now --user ${service_name}",
creates => "${xdg_config_home}/systemd/user/default.target.wants/mpd.service", creates => "${xdg_config_home}/systemd/user/default.target.wants/mpd.service",
user => $user,
path => ['/bin', '/usr/bin'], path => ['/bin', '/usr/bin'],
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment