diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-27 22:43:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-27 22:43:50 +0100 |
commit | b52429d4e0de52b89c7d043164aa1ac720e9179f (patch) | |
tree | 082f130694f9327d2ab2fb542e6407c64a8b2013 /test1 | |
parent | ab6e5f147eb9fa303653ef664f79048110d4a12b (diff) |
implement trivial socket activated logger daemon
Diffstat (limited to 'test1')
-rw-r--r-- | test1/multiuser.target | 1 | ||||
l--------- | test1/multiuser.target.wants/systemd-logger.socket | 1 | ||||
-rw-r--r-- | test1/systemd-logger.service | 6 | ||||
-rw-r--r-- | test1/systemd-logger.socket | 7 |
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 |