summaryrefslogtreecommitdiff
path: root/testing/systemd/0001-units-make-sure-syslog-socket-goes-away-early-during.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/systemd/0001-units-make-sure-syslog-socket-goes-away-early-during.patch')
-rw-r--r--testing/systemd/0001-units-make-sure-syslog-socket-goes-away-early-during.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/systemd/0001-units-make-sure-syslog-socket-goes-away-early-during.patch b/testing/systemd/0001-units-make-sure-syslog-socket-goes-away-early-during.patch
new file mode 100644
index 000000000..49248a6a4
--- /dev/null
+++ b/testing/systemd/0001-units-make-sure-syslog-socket-goes-away-early-during.patch
@@ -0,0 +1,26 @@
+From ead51eb4ed55981f290e40a871ffbca6480c4cd3 Mon Sep 17 00:00:00 2001
+From: Lennart Poettering <lennart@poettering.net>
+Date: Thu, 12 Jan 2012 04:34:50 +0100
+Subject: [PATCH] units: make sure syslog socket goes away early during
+ shutdown
+
+---
+ units/syslog.socket | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/units/syslog.socket b/units/syslog.socket
+index 323fa86..657e791 100644
+--- a/units/syslog.socket
++++ b/units/syslog.socket
+@@ -11,6 +11,8 @@
+ Description=Syslog Socket
+ DefaultDependencies=no
+ Before=sockets.target syslog.target
++Conflicts=shutdown.target
++Before=shutdown.target
+
+ # Pull in syslog.target to tell people that /dev/log is now accessible
+ Wants=syslog.target
+--
+1.7.8.3
+