diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-13 05:18:12 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-13 05:18:12 +0200 |
commit | 70fcff314feff469a8e61dbe5017ed74f5e0a09d (patch) | |
tree | 0e7d28ab0b09c0e2993d16ff71f8986ac0f43ef3 /units | |
parent | 9ea9a0c85c427397e1f1f4bb1f4d3192aab5987e (diff) |
units: install a few basic units by default
Diffstat (limited to 'units')
-rw-r--r-- | units/emergency.service | 10 | ||||
-rw-r--r-- | units/systemd-initctl.service.in | 6 | ||||
-rw-r--r-- | units/systemd-initctl.socket | 6 | ||||
-rw-r--r-- | units/systemd-logger.service.in | 6 | ||||
-rw-r--r-- | units/systemd-logger.socket | 5 |
5 files changed, 33 insertions, 0 deletions
diff --git a/units/emergency.service b/units/emergency.service new file mode 100644 index 0000000..2e9d049 --- /dev/null +++ b/units/emergency.service @@ -0,0 +1,10 @@ +[Meta] +Description=Emergency Shell + +[Service] +ExecStart=/bin/sh +Type=simple +StandardInput=tty +Restart=restart-always +RestartSec=0 +KillMode=process diff --git a/units/systemd-initctl.service.in b/units/systemd-initctl.service.in new file mode 100644 index 0000000..512392e --- /dev/null +++ b/units/systemd-initctl.service.in @@ -0,0 +1,6 @@ +[Meta] +Description=systemd /dev/initctl Compatibility + +[Service] +ExecStart=@libexecdir@/systemd-initctl +Type=simple diff --git a/units/systemd-initctl.socket b/units/systemd-initctl.socket new file mode 100644 index 0000000..86e7f40 --- /dev/null +++ b/units/systemd-initctl.socket @@ -0,0 +1,6 @@ +[Meta] +Description=systemd /dev/initctl Compatibility + +[Socket] +ListenFIFO=/dev/initctl +SocketMode=0600 diff --git a/units/systemd-logger.service.in b/units/systemd-logger.service.in new file mode 100644 index 0000000..6723500 --- /dev/null +++ b/units/systemd-logger.service.in @@ -0,0 +1,6 @@ +[Meta] +Description=systemd Logging Daemon + +[Service] +ExecStart=@libexecdir@/systemd-logger +Type=simple diff --git a/units/systemd-logger.socket b/units/systemd-logger.socket new file mode 100644 index 0000000..eb012c8 --- /dev/null +++ b/units/systemd-logger.socket @@ -0,0 +1,5 @@ +[Meta] +Description=systemd Logging Socket + +[Socket] +ListenStream=@/org/freedesktop/systemd1/logger |