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
|
2020-10-03 15:00:13 +00:00
|
|
|
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
|