Skip to content
Snippets Groups Projects
Verified Commit 54a7b798 authored by anarcat's avatar anarcat
Browse files

use systemd puppet module for lingering (#33449)

parent 0e6bc440
No related branches found
No related tags found
No related merge requests found
......@@ -65,9 +65,7 @@ On the sysadmin side, to enable `systemd --user` session, we need to
run `loginctl enable-linger $USER`. For example, this will enable the
session for the user $USER:
exec { "loginctl enable-linger $USER":
creates => "/var/lib/systemd/linger/$USER";
}
loginctl_user { $USER: linger => enabled }
This will create an empty file for the user in
`/var/lib/systemd/linger/` but it will *also* start the `systemd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment