Use DynamicUser-property in systemd-unit-file
I think we should use the new DynamicUser
-property (together with
StateDirectory=schleuder
) in our systemd-unit-file for
schleuder-api-daemon.
If used together with User=
it provides a seamless upgrade-path: on
systems that have a static user-account of that name, this one will be
used; on other systemd a dynamic user-account of that name will be used.
See http://0pointer.net/blog/dynamic-users-with-systemd.html