aboutsummaryrefslogtreecommitdiff
path: root/admin/syslog-ng/files/syslog-ng.init
Commit message (Collapse)AuthorAge
* syslog-ng: restore service "reload" to actually workingPhilip Prindeville2020-05-06
| | | | | | | | | | Commit 44a16ca broke syslog-ng such that it no longer works with logrotate, for example. Yes, you can manually stop and start the service, but (1) you shouldn't have to and (2) it creates a window where you potentially lose messages if the syslog UDP socket overruns. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* syslog-ng: improve init and fix service stopKarel Kočí2019-06-10
| | | | | | | | | | | | | | | | This fixes service stop. Problem was that in default syslog-ng forks to background which causes procd to loose track of it. It no longer has in such case PID of syslog-ng process and is unable to stop it. This means that instance for such process hangs in procd and also it is not possible to stop it as daemon. Fix is simple. syslog-ng is now instructed to run in foreground. This commit also drops unnecessary reload section. In default reload calls restart and restart in default is implemented as calling stop and start. This means that effectively it is implemented same as in case of this init reload service implementation. Signed-off-by: Karel Kočí <karel.koci@nic.cz>
* syslog-ng: Use procd style initMichal Hrusecky2019-01-18
| | | | Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
* syslog-ng: fix typo in .pid file pathPhilip Prindeville2017-07-27
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* syslog-ng: use syslog-ng-ctl for proper reloadsPhilip Prindeville2017-07-26
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* syslog-ng: add syntax check to startup scriptPhilip Prindeville2017-07-26
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* syslog-ng: get rid of guardian processPhilip Prindeville2017-07-26
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* syslog-ng: replace hardcoded paths with variablesPhilip Prindeville2017-07-26
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* syslog-ng: fix various install problems such as missing plugins, etcPhilip Prindeville2017-01-09
| | | | | | | | | | | | | | | | Install the plugins as various functionality is no longer in the utility itself but is packaged as a .so plugin instead. Disable plugins with too many dependencies (or too exotic). Bump the version number on the config file to agree with the package's version number. Clean up any .la files from libtool. Start much earlier so that logging doesn't miss startup messages from other services. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* syslog-ng: import from oldpackagesW. Michael Petullo2017-01-06
Signed-off-by: W. Michael Petullo <mike@flyn.org>