FS#68227 - [xdg-user-dirs] Conditionally run xdg-user-dirs-update.service
Attached to Project:
Arch Linux
Opened by tinywrkb (tinywrkb) - Monday, 12 October 2020, 16:32 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 12 October 2020, 16:44 GMT
Opened by tinywrkb (tinywrkb) - Monday, 12 October 2020, 16:32 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 12 October 2020, 16:44 GMT
|
Details
It doesn't make a lot of sense to run xdg-user-dirs-update
on root login or users dedicated services that still offer
ssh login.
AFAIK it's pretty much accepted that personal users are belonging to the `users` group so I suggest the following change ``` diff --git a/trunk/xdg-user-dirs-update.service b/trunk/xdg-user-dirs-update.service index d8cebe58..773a48d4 100644 --- a/trunk/xdg-user-dirs-update.service +++ b/trunk/xdg-user-dirs-update.service @@ -1,6 +1,7 @@ [Unit] Description=Update XDG user dir configuration Documentation=man:xdg-user-dirs-update(1) +ConditionGroup=users [Service] Type=oneshot ``` |
This task depends upon
No idea where you got that, but it's not true in any way.