chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e62abb6
)
units: automatically respawn the core services
author
Lennart Poettering
<lennart@poettering.net>
Thu, 28 Jun 2012 10:13:52 +0000
(12:13 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 28 Jun 2012 10:18:04 +0000
(12:18 +0200)
units/systemd-ask-password-wall.service.in
patch
|
blob
|
history
units/systemd-debug-shell.service.in
patch
|
blob
|
history
units/systemd-journald.service.in
patch
|
blob
|
history
units/systemd-logind.service.in
patch
|
blob
|
history
units/systemd-udev.service.in
patch
|
blob
|
history
diff --git
a/units/systemd-ask-password-wall.service.in
b/units/systemd-ask-password-wall.service.in
index b2ca039499657048b0c337b091a79a52678c18f0..0eaa274794471e1c425358f943c48cc7deaae31a 100644
(file)
--- a/
units/systemd-ask-password-wall.service.in
+++ b/
units/systemd-ask-password-wall.service.in
@@
-11,6
+11,5
@@
Documentation=man:systemd-ask-password-console.service(8)
After=systemd-user-sessions.service
[Service]
After=systemd-user-sessions.service
[Service]
-ExecStartPre=-@SYSTEMCTL@ stop systemd-ask-password-console.path systemd-ask-password-console.service
-ExecStartPre=-@SYSTEMCTL@ stop systemd-ask-password-plymouth.path systemd-ask-password-plymouth.service
+ExecStartPre=-@SYSTEMCTL@ stop systemd-ask-password-console.path systemd-ask-password-console.service systemd-ask-password-plymouth.path systemd-ask-password-plymouth.service
ExecStart=@rootbindir@/systemd-tty-ask-password-agent --wall
ExecStart=@rootbindir@/systemd-tty-ask-password-agent --wall
diff --git
a/units/systemd-debug-shell.service.in
b/units/systemd-debug-shell.service.in
index 8ca25a36287ee0512f43d5af7e2aeac2d6934b9a..2aa98d3cc55af80cab6780164486d2d9d8813858 100644
(file)
--- a/
units/systemd-debug-shell.service.in
+++ b/
units/systemd-debug-shell.service.in
@@
-1,3
+1,10
@@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
[Unit]
Description=Early root shell on tty9 FOR DEBUGGING ONLY
Documentation=man:sushell(8)
[Unit]
Description=Early root shell on tty9 FOR DEBUGGING ONLY
Documentation=man:sushell(8)
diff --git
a/units/systemd-journald.service.in
b/units/systemd-journald.service.in
index 88ee68c8c7dd447d028dee3c1190d90bc4590ea5..9552b454a341ccdfd45cb303e3a8e091e1ba0d71 100644
(file)
--- a/
units/systemd-journald.service.in
+++ b/
units/systemd-journald.service.in
@@
-14,6
+14,7
@@
After=systemd-journald.socket syslog.socket
[Service]
ExecStart=@rootlibexecdir@/systemd-journald
[Service]
ExecStart=@rootlibexecdir@/systemd-journald
+Restart=always
NotifyAccess=all
StandardOutput=null
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID
NotifyAccess=all
StandardOutput=null
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID
diff --git
a/units/systemd-logind.service.in
b/units/systemd-logind.service.in
index 0dd6e14e168437ac1a1e22a96c5abfdeec56c694..4acca63a96eab5177b8df426033ecd1dae79d69e 100644
(file)
--- a/
units/systemd-logind.service.in
+++ b/
units/systemd-logind.service.in
@@
-13,6
+13,7
@@
After=nss-user-lookup.target
[Service]
ExecStart=@rootlibexecdir@/systemd-logind
[Service]
ExecStart=@rootlibexecdir@/systemd-logind
+Restart=always
BusName=org.freedesktop.login1
CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG
BusName=org.freedesktop.login1
CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG
diff --git
a/units/systemd-udev.service.in
b/units/systemd-udev.service.in
index b4448705330a449ae75b098738ca7a0911adc4d1..b68969026b650ee2d7daf91af36571afaf3ae242 100644
(file)
--- a/
units/systemd-udev.service.in
+++ b/
units/systemd-udev.service.in
@@
-18,5
+18,5
@@
ConditionCapability=CAP_MKNOD
Type=notify
OOMScoreAdjust=-1000
Sockets=systemd-udev-control.socket systemd-udev-kernel.socket
Type=notify
OOMScoreAdjust=-1000
Sockets=systemd-udev-control.socket systemd-udev-kernel.socket
-Restart=
on-failure
+Restart=
always
ExecStart=@rootlibexecdir@/systemd-udevd
ExecStart=@rootlibexecdir@/systemd-udevd