From 651987712b2688d991e502564c2c6021c172912f Mon Sep 17 00:00:00 2001 From: vlaborie Date: Tue, 11 Jul 2017 17:57:30 +0200 Subject: [PATCH] Info suppression linger --- HowtoSystemd.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtoSystemd.md b/HowtoSystemd.md index 33857727..da23c5b2 100644 --- a/HowtoSystemd.md +++ b/HowtoSystemd.md @@ -234,6 +234,12 @@ Attention, si l'on veut une session persistante pour un utilisateur, il faut l'a # loginctl enable-linger foo ~~~ +Attention, si l'on renomme l'utilisateur foo ou que l'on change son UID, il faut supprimer son "linger" : + +~~~ +# rm /var/lib/systemd/linger/foo +~~~ + Exemple d'unité utilisateur pour _Tomcat_ : `/etc/systemd/user/tomcat.service`