{"id":1539,"date":"2018-07-02T08:29:34","date_gmt":"2018-07-02T08:29:34","guid":{"rendered":"https:\/\/scunster.co.uk\/?p=1539"},"modified":"2018-07-02T08:29:34","modified_gmt":"2018-07-02T08:29:34","slug":"cent-web-panel-cwp-updating-lfd-to-ignore-files-processes","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=1539","title":{"rendered":"Cent Web Panel (CWP) updating lfd to ignore files \/ processes"},"content":{"rendered":"<p>There are times when lfd will email consistent warnings for files or processes that you know are not an issue on your system.<\/p>\n<p>For example when you rebuild apache or PHP the files are rebuilt in the \/tmp directory resulting in system emails<\/p>\n<pre>Time:   Fri Jun 29 14:37:01 2018 +0100\r\nFile:   \/tmp\/php-build\/php-7.0.30\/makerpm\r\nReason: Script, starts with #!\r\nOwner:  admin:paneladmin (1000:1000)\r\nAction: No action taken<\/pre>\n<p>Rather than disable the email warnings for lfd you can add certain files or processes to their relevant ignore file><\/p>\n<p>Files and directories to be ignored should be added to \/etc\/csf\/csf.fignore<br \/>\nProcesses should be added to \/etc\/csf\/csf.pignore<\/p>\n<p>To ignore files created while building or rebuilding php and apache add the following lines to bottom of csf.fignore<\/p>\n<pre>\/tmp\/apache-build\/.*\r\n\/tmp\/php-build\/.*<\/pre>\n<p>to ignore screen processes running as a certain user add the following to csf.pignore<\/p>\n<pre>exe:\/usr\/bin\/screen\r\nuser:bobsgameserver\r\ncmd:SCREEN*<\/pre>\n<p>Don&#8217;t forget to restart the lfd service for changes to take effect<\/p>\n<pre> service lfd restart<\/p>\n<pre>\n","protected":false},"excerpt":{"rendered":"<p>There are times when lfd will email consistent warnings for files or processes that you know are not an issue on your system. For example when you rebuild apache or PHP the files are rebuilt in the \/tmp directory resulting in system emails Time: Fri Jun 29 14:37:01 2018 +0100 File: \/tmp\/php-build\/php-7.0.30\/makerpm Reason: Script, starts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[395],"tags":[375,396,400,398,397,399,401],"class_list":["post-1539","post","type-post","status-publish","format-standard","hentry","category-cwp","tag-cent","tag-cwp","tag-fignore","tag-lfd","tag-panel","tag-pignore","tag-restart"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1539"}],"version-history":[{"count":1,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1539\/revisions"}],"predecessor-version":[{"id":1540,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1539\/revisions\/1540"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}