bundles/kodi: introduce
This commit is contained in:
parent
fc44a9cd69
commit
32fd2f7a7b
5 changed files with 88 additions and 0 deletions
18
bundles/kodi/files/kodi.service
Normal file
18
bundles/kodi/files/kodi.service
Normal file
|
@ -0,0 +1,18 @@
|
|||
[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
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue