mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-12 16:53:26 +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
311 B
Desktop File
15 lines
311 B
Desktop File
[Unit]
|
|
Description=Kodi poweroff script
|
|
After=kodi.service
|
|
Before=systemd-poweroff.service
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=HOME=/storage
|
|
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/shutdown.sh poweroff"
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=poweroff.target
|