bundles/kodi: introduce
This commit is contained in:
parent
fc44a9cd69
commit
32fd2f7a7b
5 changed files with 88 additions and 0 deletions
2
bundles/kodi/files/Xwrapper.config
Normal file
2
bundles/kodi/files/Xwrapper.config
Normal file
|
@ -0,0 +1,2 @@
|
|||
allowed_users=anybody
|
||||
needs_root_rights=yes
|
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
|
10
bundles/kodi/files/pulseaudio.service
Normal file
10
bundles/kodi/files/pulseaudio.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=PulseAudio for user kodi
|
||||
|
||||
[Service]
|
||||
User=kodi
|
||||
Type=simple
|
||||
ExecStart=pulseaudio --realtime --log-target=journal --daemonize=no
|
||||
|
||||
[Install]
|
||||
WantedBy=kodi.service
|
Loading…
Add table
Add a link
Reference in a new issue