mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
add RemainAfterExit=yes to our oneshot systemd services
This is required since systemd 245, without it oneshot services may get started more than once. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
244ca937e7
commit
3a5b1f118f
@ -5,6 +5,7 @@ ConditionPathExists=/sys/class/vtconsole/vtcon1/bind
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
ExecStart=/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind'
|
ExecStart=/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind'
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -5,6 +5,7 @@ Before=kodi.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
ExecStart=/bin/sh -c "/usr/bin/brcmfmac-firmware-setup"
|
ExecStart=/bin/sh -c "/usr/bin/brcmfmac-firmware-setup"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -5,5 +5,6 @@ After=basic.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
ExecStart=/usr/lib/samba/samba-config
|
ExecStart=/usr/lib/samba/samba-config
|
||||||
StartLimitInterval=0
|
StartLimitInterval=0
|
||||||
|
@ -5,6 +5,7 @@ After=systemd-tmpfiles-setup.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
ExecStart=/usr/bin/openssl-config
|
ExecStart=/usr/bin/openssl-config
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -6,6 +6,7 @@ Before=systemd-udevd.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
ExecStart=-/usr/bin/udevadm hwdb --update
|
ExecStart=-/usr/bin/udevadm hwdb --update
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -5,6 +5,7 @@ Before=systemd-udevd.service systemd-udev-trigger.service systemd-modules-load.s
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
ExecStart=/usr/sbin/kernel-overlays-setup
|
ExecStart=/usr/sbin/kernel-overlays-setup
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user