mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
Merge pull request #4261 from HiassofT/le10-oneshot-systemd-fix
add RemainAfterExit=yes to our oneshot systemd services
This commit is contained in:
commit
135e9a9694
@ -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