Not sure this question is good here or if I should ask on ubuntu forum…
I’m trying to write a script taht restarts kodi via cli, so I need to know how to launch it once it stopped.
In my ubuntu 16.04 there are a lot of processes related to kodi:
Code:
fmf@kodi:~$ ps ax|grep kodi
1142 ? Ss 0:16 avahi-daemon: running [kodi.local]
1638 ? Ss 0:00 /bin/sh /usr/bin/kodi-standalone
1730 ? Ss 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch kodi-standalone
1733 ? S 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch kodi-standalone
1747 ? S 0:00 /bin/sh /usr/bin/kodi --standalone
1749 ? Sl 200:14 /usr/lib/kodi/kodi.bin --standalone
24195 pts/1 S+ 0:00 grep --color=auto kodi
fmf@kodi:~$
Assuming that I managed to stop kodi somehow, how do I start it without rebooting the computer?