提交 a8c497cb authored 作者: Peter Wu's avatar Peter Wu

debian: fix compatibility with systemd 215 on Jessie

Since FS-8788, this error is printed to the journal:

    [/lib/systemd/system/freeswitch.service:22] Failed to parse resource value, ignoring: 240K

It turns out that suffixes are only introduced in systemd 228 which is
not available in Debian Jessie. Use 240*1024, rounded up to a nice
human-readable number.
上级 93e401e7
...@@ -19,7 +19,7 @@ Group=daemon ...@@ -19,7 +19,7 @@ Group=daemon
LimitCORE=infinity LimitCORE=infinity
LimitNOFILE=100000 LimitNOFILE=100000
LimitNPROC=60000 LimitNPROC=60000
LimitSTACK=240K LimitSTACK=250000
LimitRTPRIO=infinity LimitRTPRIO=infinity
LimitRTTIME=7000000 LimitRTTIME=7000000
IOSchedulingClass=realtime IOSchedulingClass=realtime
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论