Michael Biebl [2017-10-11 18:47 +0200]:
> I don't systemd-journal-gateway creates any systemd-journal-gateway
> owned files. That said, if we want to remove the system user account, we
> probably need to add a systemctl try-restart
> systemd-journal-gatewayd.service before the deluser call so we don't
> have any running processes with that uid.

Restarting the service on upgrade seems like a good idea anyway. That said, if
there's any doubt in whether it's safe to remove, I think it's okay to not
bother -- after all, a DynamicUser= unit will still use the existing system
user if it exists, so there isn't that much gain in cleaning it up.

Martin

Attachment: signature.asc
Description: PGP signature

Reply via email to