mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-12 15:43:27 +00:00
60ab2c0410
lets make this consistent as with autostart.sh. too many people have no idea how to deal with $PATH and why their 3rdparty stuff dont work in shutdown.sh.
15 lines
295 B
Desktop File
15 lines
295 B
Desktop File
[Unit]
|
|
Description=Kodi halt script
|
|
After=kodi.service
|
|
Before=systemd-halt.service
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=HOME=/storage
|
|
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/shutdown.sh halt"
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=halt.target
|