summaryrefslogtreecommitdiff
path: root/test1
diff options
context:
space:
mode:
Diffstat (limited to 'test1')
-rw-r--r--test1/multiuser.target1
l---------test1/multiuser.target.wants/systemd-logger.socket1
-rw-r--r--test1/systemd-logger.service6
-rw-r--r--test1/systemd-logger.socket7
4 files changed, 14 insertions, 1 deletions
diff --git a/test1/multiuser.target b/test1/multiuser.target
index 35182421c4..f105e3c2f0 100644
--- a/test1/multiuser.target
+++ b/test1/multiuser.target
@@ -1,3 +1,2 @@
[Meta]
-Wants=syslog.socket
Description=Multi-User Target
diff --git a/test1/multiuser.target.wants/systemd-logger.socket b/test1/multiuser.target.wants/systemd-logger.socket
new file mode 120000
index 0000000000..4ce0a61aa1
--- /dev/null
+++ b/test1/multiuser.target.wants/systemd-logger.socket
@@ -0,0 +1 @@
+../systemd-logger.socket \ No newline at end of file
diff --git a/test1/systemd-logger.service b/test1/systemd-logger.service
new file mode 100644
index 0000000000..77af676351
--- /dev/null
+++ b/test1/systemd-logger.service
@@ -0,0 +1,6 @@
+[Meta]
+Description=systemd Logging Daemon
+
+[Service]
+ExecStart=/home/lennart/projects/systemd/systemd-logger
+Type=simple
diff --git a/test1/systemd-logger.socket b/test1/systemd-logger.socket
new file mode 100644
index 0000000000..a013067ab2
--- /dev/null
+++ b/test1/systemd-logger.socket
@@ -0,0 +1,7 @@
+[Meta]
+Description=systemd Logging Socket
+
+[Socket]
+ExecStartPre=/bin/rm /tmp/systemd-logger
+ListenStream==/systemd/logger
+ListenStream=/tmp/systemd-logger