require network-online
This commit is contained in:
parent
d6360e25df
commit
43de034265
@ -1,6 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Starts instance of Kodi using xinit
|
Description=Starts instance of Kodi using xinit
|
||||||
After=systemd-user-sessions.service network.target sound.target mysqld.service
|
After=systemd-user-sessions.service network-online.target sound.target mysqld.service
|
||||||
|
Requires=network-online.target
|
||||||
Conflicts=getty@tty1.service
|
Conflicts=getty@tty1.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@ -8,7 +9,6 @@ User=kodi
|
|||||||
Group=kodi
|
Group=kodi
|
||||||
PAMName=login
|
PAMName=login
|
||||||
TTYPath=/dev/tty1
|
TTYPath=/dev/tty1
|
||||||
ExecStartPre=/usr/bin/sleep 2s
|
|
||||||
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt1
|
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt1
|
||||||
Restart=on-abort
|
Restart=on-abort
|
||||||
StandardInput=tty
|
StandardInput=tty
|
||||||
|
Loading…
Reference in New Issue
Block a user