[systemd-devel] Per user limit defaults in systemd.conf

Joshua Miller joshuamiller01 at gmail.com
Tue Sep 1 00:34:15 UTC 2020


Is there a way to set per-user defaults for values in systemd.conf?  e.g.
I'd like to set DefaultLimitMEMLOCK for the 'app' user (User=app), such
that all units run as User=app get the setting.

I'm looking for a way to do what's done via pam_limits per limits.conf
 (e.g. `username       hard    nofile          512`)

Thanks!
Joshua Miller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200831/5190f4cb/attachment.htm>


More information about the systemd-devel mailing list