summaryrefslogtreecommitdiffstats
path: root/rsyslog.service.in
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-03-021-0/+1
|\
| * Install syslog.service Alias for newer systemd versionsMichael Biebl2012-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the syslog.socket unit file of newer systemd versions: The default syslog implementation should make syslog.service a symlink to itself, so that this socket activates the right actual syslog service. Examples: /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service Best way to achieve that is by adding this to your unit file (i.e. to rsyslog.service or syslog-ng.service): [Install] Alias=syslog.service http://cgit.freedesktop.org/systemd/systemd/tree/units/syslog.socket#n26
* | Merge branch 'v5-stable' into betaRainer Gerhards2011-07-061-0/+1
|\| | | | | | | | | | | Conflicts: ChangeLog doc/manual.html
| * systemd: direct stdout/stderr of rsyslog to nullLennart Poettering2011-07-021-0/+1
| | | | | | | | | | | | | | This allows systemd upstream to set stdout/stderr of all spawned services by default to 'syslog'. In order to avoid log loops rsyslog itself must be have its stdout/stderr connected to 'null' in that case, however.
* | adapted systemd rsyslog service file to v6Rainer Gerhards2011-03-111-1/+1
|/
* systemd: do not hook up SIGHUP for reloadLennart Poettering2011-03-111-1/+0
| | | | | | rsyslog doesn't actually do a configuration reload on SIGHUP, hence let's not pretend it does and drop the ExecReload= line, so that the clients will rather restart than reload the service.
* systemd: use standard syslog.socket unitLennart Poettering2011-03-091-1/+2
| | | | | | | | | | | | | | | | | | In systemd we now have a standard socket unit for /dev/log called syslog.socket. This unit can be shared between an early boot mini syslog and the full syslog implementation started later on. The mini syslog is shipped along systemd and does nothing but simply forward the data received through /dev/log to the kernel log buffer (i.e. kmsg, as visible by dmesg). It is run during early boot, and then as soon as rsyslog starts up it is terminated, so that rsyslog can take over the /dev/log socket. Since one of the first things rsyslog does after starting up is flushing the kernel log buffer to disk we end up with all data from early boot up in syslog. This patch changes two things: removes rsyslog.socket and instead configures rsyslog.service to take possession of syslock.socket. And secondly includes a PreStart line to terminate the running syslog bridge instance.
* systemd: add ExecReload command (using kill -HUP)Michael Biebl2010-12-031-0/+1
| | | | http://0pointer.de/public/systemd-man/systemd.service.html
* Enable rsyslog.socket together with rsyslog.serviceMichael Biebl2010-10-071-0/+1
| | | | | When the rsyslog service is enabled via "systemctl enable rsyslog.service" also enable the socket unit.
* minor: corrected -c param in systemd startup filesRainer Gerhards2010-10-041-1/+1
|
* systemd: install service and socket unit filesLennart Poettering2010-10-041-0/+8
This adds a systemd socket and service unit file to the default install if systemd is found or explicitly enabled in ./configure. Patch is against current git v5-devel.