29b2b65590
Calling the kodi-xxx target in ExecStart= was not actually the key to
fixing the shutdown bugs in 847b6ec65
. 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.
23 lines
653 B
Desktop File
23 lines
653 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
|
|
EnvironmentFile=-/etc/conf.d/kodi-standalone
|
|
SupplementaryGroups=input
|
|
PAMName=login
|
|
TTYPath=/dev/tty1
|
|
Environment=WINDOWING=gbm
|
|
ExecStart=/usr/bin/kodi-standalone
|
|
ExecStop=/usr/bin/killall --user kodi --exact --wait kodi-gbm
|
|
Restart=on-abort
|
|
StandardInput=tty
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
Alias=display-manager.service
|