]> granicus.if.org Git - fcron/commitdiff
systemd init: added LimitCORE
authorThibault Godouet <fcron@free.fr>
Sun, 14 Aug 2016 09:09:37 +0000 (10:09 +0100)
committerThibault Godouet <fcron@free.fr>
Sun, 14 Aug 2016 09:09:37 +0000 (10:09 +0100)
script/fcron.init.systemd.in

index 0e237b038c2e0e69f507f8084efc9c705162ceaa..75e99cde2deb8b65eab077bf33f6ec38df9fca0f 100644 (file)
@@ -12,6 +12,8 @@ ExecStart=@@DESTSBIN@/fcron -b
 ExecReload=/bin/kill -USR1 $MAINPID
 Restart=always
 KillMode=process
+# 128MB
+LimitCORE=134217728
 
 [Install]
 WantedBy=multi-user.target