]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
debian: fix compatibility with systemd 215 on Jessie
authorPeter Wu <peter@lekensteyn.nl>
Wed, 25 May 2016 13:27:12 +0000 (15:27 +0200)
committerPeter Wu <peter@lekensteyn.nl>
Wed, 25 May 2016 13:54:09 +0000 (15:54 +0200)
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.

debian/freeswitch-systemd.freeswitch.service

index cc0cf1d582ecca11cae7d8b2221f499defd5955e..b9fbdb9d760e4b362f9e28919d75c0d388eefba3 100644 (file)
@@ -19,7 +19,7 @@ Group=daemon
 LimitCORE=infinity
 LimitNOFILE=100000
 LimitNPROC=60000
-LimitSTACK=240K
+LimitSTACK=250000
 LimitRTPRIO=infinity
 LimitRTTIME=7000000
 IOSchedulingClass=realtime