Hello!
I already found that I could add "LimitNOFILE=2048" to the "Service"
section to explicitly set max number of opened files but I need
something different. I want to allow user to specify it and set it
only in case he specifies it. It looks like I should use something
like "ExecStartPre=ulimit -n $ULIMIT_MAX_FILES" where ULIMIT_MAX_FILES
is read from EnvironmentFile, but maybe there are some other
recommended ways?
--
With best regards, Peter Lemenkov.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel