Re: HUP or reload
"Peter Kokai (pkokai)" <[email protected]> Thu, 19 May 2022 04:32:30 +0000
| Newsgroups | gmane.comp.syslog-ng |
|---|---|
| Message-ID | <MW4PR19MB5629DAEA326DDF08741562DFF8D09@MW4PR19MB5629.namprd19.prod.outlook.com> |
Hello, Using either version is fine. But I think actually you should prefer syslog-ng-ctl reload, specially in case of scripting as the later waits for reload to happen and the command return code indicates if reload was success or failure. That is a nice addition. -- Kokan ________________________________________ From: syslog-ng <[email protected]> on behalf of Faine, Mark R. (MSFC-IS40)[AEGIS] <[email protected]> Sent: 18 May 2022 23:26 To: Syslog-ng users' and developers' mailing list Subject: [syslog-ng] HUP or reload CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe. Are there certain circumstances where I should prefer doing a HUP on the syslog-ng process instead of syslog-ng-ctl reload? My use case specifically is for postrotate but I'm also asking generally. Thanks, Mark ______________________________________________________________________________ Member info: https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=05%7C01%7Cpeter.kokai%40balabit.com%7C227f6902b9934d1afd7908da391506e1%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637885059733937598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7VRhJ54HWQT39Zj%2FEmLYJUIG5QL4SH5i1EduTUQ9GHM%3D&reserved=0 Documentation: https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=05%7C01%7Cpeter.kokai%40balabit.com%7C227f6902b9934d1afd7908da391506e1%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637885059733937598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BCxQB%2BSWZ0nD%2BpjRCXJ3LpqODX4xrf9a%2Fo9pxBdlTeE%3D&reserved=0 FAQ: https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=05%7C01%7Cpeter.kokai%40balabit.com%7C227f6902b9934d1afd7908da391506e1%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637885059733937598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=T1Hy%2Bd11xwdewc9ec9%2BEI3qm7KP7l3uLdQjcQ3cyHs8%3D&reserved=0 ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq