require network-online
This commit is contained in:
parent
d6360e25df
commit
43de034265
@ -1,6 +1,7 @@
|
||||
[Unit]
|
||||
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
|
||||
|
||||
[Service]
|
||||
@ -8,7 +9,6 @@ User=kodi
|
||||
Group=kodi
|
||||
PAMName=login
|
||||
TTYPath=/dev/tty1
|
||||
ExecStartPre=/usr/bin/sleep 2s
|
||||
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt1
|
||||
Restart=on-abort
|
||||
StandardInput=tty
|
||||
|
Loading…
Reference in New Issue
Block a user