2020-05-14 11:19:11 +03:00
|
|
|
[Unit]
|
|
|
|
Description=Kodi standalone (Wayland)
|
2021-01-03 08:25:34 -05:00
|
|
|
After=remote-fs.target systemd-user-sessions.service network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service
|
2020-05-14 11:19:11 +03:00
|
|
|
Wants=network-online.target polkit.service upower.service
|
|
|
|
Conflicts=getty@tty1.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=kodi
|
|
|
|
Group=kodi
|
2020-12-29 01:51:08 +00:00
|
|
|
RuntimeDirectory=kodi
|
|
|
|
Environment="XDG_RUNTIME_DIR=%t/kodi"
|
2020-09-14 15:32:22 -04:00
|
|
|
EnvironmentFile=-/etc/conf.d/kodi-standalone
|
2021-01-03 08:25:34 -05:00
|
|
|
PAMName=login
|
2020-05-14 11:19:11 +03:00
|
|
|
TTYPath=/dev/tty1
|
2020-11-08 06:10:38 -05:00
|
|
|
ExecStart=/usr/bin/cage -- /usr/bin/kodi-standalone
|
2021-07-13 17:40:05 -04:00
|
|
|
ExecStop=/usr/bin/killall --user kodi --exact --wait kodi.bin
|
2020-05-14 11:19:11 +03:00
|
|
|
Restart=on-abort
|
|
|
|
StandardInput=tty
|
2020-10-10 09:13:36 -04:00
|
|
|
StandardOutput=journal
|
2020-05-14 11:19:11 +03:00
|
|
|
|
|
|
|
[Install]
|
2020-07-13 12:57:53 -04:00
|
|
|
Alias=display-manager.service
|