diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-27 04:31:52 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-27 04:31:52 +0100 |
commit | acbb02252a38214ecba3aa8a5c9b3669f9c9317e (patch) | |
tree | 6c1d40078a245cd4b94d46b00f273cd5b9514aeb /test1 | |
parent | b858b600e46f4a25ddc9fb980e5a73ca5aa2690f (diff) |
yay, we can start socket units
Diffstat (limited to 'test1')
-rw-r--r-- | test1/postfix.socket | 1 | ||||
-rw-r--r-- | test1/syslog.socket | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test1/postfix.socket b/test1/postfix.socket index 927ea3fd9b..9d650a15eb 100644 --- a/test1/postfix.socket +++ b/test1/postfix.socket @@ -10,3 +10,4 @@ ExecStartPost=/bin/echo "Created sockets..." ExecStopPre=/bin/echo "About to delete sockets..." ExecStopPost=/bin/echo "Deleted sockets..." ExecStopPost=/bin/echo "Deleted sockets... 2" +#BindToDevice=eth0 diff --git a/test1/syslog.socket b/test1/syslog.socket index 56c903c45b..1662990da2 100644 --- a/test1/syslog.socket +++ b/test1/syslog.socket @@ -4,3 +4,5 @@ Description=Syslog Socket [Socket] ListenDatagram=/tmp/systemd-syslog-socket ListenStream=eth0:3456 +ExecStartPre=/bin/rm -f /tmp/systemd-syslog-socket +ExecStopPost=/bin/rm -f /tmp/systemd-syslog-socket |