bundlewrap/bundles/kodi/files/kodi.service

20 lines
428 B
SYSTEMD
Raw Normal View History

2020-10-03 11:36:12 +00:00
[Unit]
Description=Kodi
Conflicts=getty@tty7.service
After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service
StartLimitIntervalSec=2
[Service]
User=kodi
Type=simple
Environment=AE_SINK=ALSA
2020-10-03 11:36:12 +00:00
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 vt7 -nocursor
WorkingDirectory=/home/kodi
StandardOutput=journal
Restart=always
RestartSec=2
[Install]
WantedBy=graphical.target
Alias=display-manager.service