From 346bce1f4cff0096177c613987cdc80fa4ec134e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 30 Aug 2011 22:42:49 +0200 Subject: stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive --- units/.gitignore | 2 +- units/systemd-logger.service.in | 20 -------------------- units/systemd-logger.socket | 21 --------------------- units/systemd-stdout-syslog-bridge.service.in | 20 ++++++++++++++++++++ units/systemd-stdout-syslog-bridge.socket | 21 +++++++++++++++++++++ 5 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 units/systemd-logger.service.in delete mode 100644 units/systemd-logger.socket create mode 100644 units/systemd-stdout-syslog-bridge.service.in create mode 100644 units/systemd-stdout-syslog-bridge.socket (limited to 'units') diff --git a/units/.gitignore b/units/.gitignore index ac700e8044..cc92c73022 100644 --- a/units/.gitignore +++ b/units/.gitignore @@ -33,7 +33,7 @@ systemd-shutdownd.service systemd-random-seed-load.service systemd-random-seed-save.service systemd-initctl.service -systemd-logger.service +systemd-stdout-syslog-bridge.service getty@.service systemd-update-utmp-runlevel.service systemd-update-utmp-shutdown.service diff --git a/units/systemd-logger.service.in b/units/systemd-logger.service.in deleted file mode 100644 index 5f7fe40939..0000000000 --- a/units/systemd-logger.service.in +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -# See systemd.special(7) for details - -[Unit] -Description=Stdio Syslog Bridge -DefaultDependencies=no -Requires=syslog.socket -After=syslog.socket - -[Service] -ExecStart=@rootlibexecdir@/systemd-logger -NotifyAccess=all -StandardOutput=null -CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SETUID CAP_SETGID diff --git a/units/systemd-logger.socket b/units/systemd-logger.socket deleted file mode 100644 index 7178cc8246..0000000000 --- a/units/systemd-logger.socket +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -# See systemd.special(7) for details - -[Unit] -Description=Stdio Syslog Bridge Socket -DefaultDependencies=no -Before=sockets.target - -# Mount and swap units need this. If this socket unit is removed by an -# isolate request the mount and and swap units would be removed too, -# hence let's exclude this from isolate requests. -IgnoreOnIsolate=yes - -[Socket] -ListenStream=/run/systemd/logger diff --git a/units/systemd-stdout-syslog-bridge.service.in b/units/systemd-stdout-syslog-bridge.service.in new file mode 100644 index 0000000000..23a5137068 --- /dev/null +++ b/units/systemd-stdout-syslog-bridge.service.in @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# See systemd.special(7) for details + +[Unit] +Description=STDOUT Syslog Bridge +DefaultDependencies=no +Requires=syslog.socket +After=syslog.socket + +[Service] +ExecStart=@rootlibexecdir@/systemd-stdout-syslog-bridge +NotifyAccess=all +StandardOutput=null +CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SETUID CAP_SETGID diff --git a/units/systemd-stdout-syslog-bridge.socket b/units/systemd-stdout-syslog-bridge.socket new file mode 100644 index 0000000000..0706efd596 --- /dev/null +++ b/units/systemd-stdout-syslog-bridge.socket @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# See systemd.special(7) for details + +[Unit] +Description=Stdio Syslog Bridge Socket +DefaultDependencies=no +Before=sockets.target + +# Mount and swap units need this. If this socket unit is removed by an +# isolate request the mount and and swap units would be removed too, +# hence let's exclude this from isolate requests. +IgnoreOnIsolate=yes + +[Socket] +ListenStream=/run/systemd/stdout-syslog-bridge -- cgit v1.2.3-54-g00ecf