mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00

Calling the kodi-gbm target in ExecStart= was not actually the key to fixing the unclean shutdown bug. Adding the ExecStop= calling killall to the exact target was needed. This commit restores the call to kodi-standalone to allow the "RestartApp" built in to work again and adds the key ExecStop= with killall.
20 lines
595 B
Desktop File
20 lines
595 B
Desktop File
[Unit]
|
|
Description=Kodi standalone (GBM)
|
|
After=remote-fs.target systemd-user-sessions.service network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service
|
|
Wants=network-online.target polkit.service upower.service
|
|
Conflicts=getty@tty1.service
|
|
|
|
[Service]
|
|
User=kodi
|
|
Group=kodi
|
|
PAMName=login
|
|
TTYPath=/dev/tty1
|
|
Environment=WINDOWING=gbm
|
|
ExecStart=/usr/bin/kodi-standalone --standalone
|
|
ExecStop=/usr/bin/killall --user kodi --exact --wait kodi-gbm
|
|
Restart=on-abort
|
|
StandardInput=tty
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
Alias=display-manager.service
|