summaryrefslogtreecommitdiffstats
path: root/rsyslog.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-30 02:01:10 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-10-04 12:29:56 +0200
commit8e51241a50531dc10d00e54aee00a24fc6760811 (patch)
treea3006b639224047e1b55924746c8727de1d7f1fe /rsyslog.service.in
parent2cc5fbd49fdca20cdeb8eb81455bc1baef627a77 (diff)
downloadrsyslog-8e51241a50531dc10d00e54aee00a24fc6760811.tar.gz
rsyslog-8e51241a50531dc10d00e54aee00a24fc6760811.tar.xz
rsyslog-8e51241a50531dc10d00e54aee00a24fc6760811.zip
systemd: install service and socket unit files
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.
Diffstat (limited to 'rsyslog.service.in')
-rw-r--r--rsyslog.service.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/rsyslog.service.in b/rsyslog.service.in
new file mode 100644
index 00000000..b660f6bc
--- /dev/null
+++ b/rsyslog.service.in
@@ -0,0 +1,8 @@
+[Unit]
+Description=System Logging Service
+
+[Service]
+ExecStart=@sbindir@/rsyslogd -n -c 4
+
+[Install]
+WantedBy=multi-user.target