You are not logged in.
Hello.
I've configured Kodi to start server for remote controlling. When I'm starting it using
systemctl start kodiapplication starts, but the serwer not. But what is strange, as root i'm starting the command which ps ax returns:
/bin/sh /usr/bin/kodi-standalone -l /run/lirc/lircdand now server on port 80 works ! What is wrong with systemd method? Of course the same is with systemctl enable - server doesn't start.
Last edited by maci3k (2015-01-12 16:18:20)
Offline
Anyone? Please ![]()
I've tried everything. I've changed port of webserver to 8080. Now, when I'm strating kodi using
systemctl start kodi, the results of netstat -tulpn | grep kodi are:
tcp 0 0 0.0.0.0:1086 0.0.0.0:* LISTEN 1491/kodi.bin
tcp 0 0 0.0.0.0:1447 0.0.0.0:* LISTEN 1491/kodi.bin
tcp 0 0 0.0.0.0:1418 0.0.0.0:* LISTEN 1491/kodi.bin
tcp6 0 0 ::1:9090 :::* LISTEN 1491/kodi.bin
udp 0 0 0.0.0.0:1900 0.0.0.0:* 1491/kodi.bin
udp 0 0 0.0.0.0:15752 0.0.0.0:* 1491/kodi.bin
udp 0 0 0.0.0.0:11550 0.0.0.0:* 1491/kodi.bin
udp 0 0 0.0.0.0:9777 0.0.0.0:* 1491/kodi.binSo the server on port 8080 doesn't work.
But kodi started using /bin/sh /usr/bin/kodi-standalone -l /run/lirc/lircd works - netstat -tulpn | grep kodi returns:
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1919/kodi.bin
tcp6 0 0 :::9090 :::* LISTEN 1919/kodi.bin
tcp6 0 0 :::8080 :::* LISTEN 1919/kodi.bin
udp 0 0 0.0.0.0:9777 0.0.0.0:* 1919/kodi.binWhy there is a difference? Processes in both ways are the same (ps ax | grep kodi command):
systemctl start kodi
1064 ? Ss 0:00 /bin/sh /usr/bin/kodi-standalone -l /run/lirc/lircd
1066 ? S 0:00 /bin/sh /usr/bin/kodi --standalone -l /run/lirc/lircd
1069 ? Rl 2:32 /usr/lib/kodi/kodi.bin --standalone -l /run/lirc/lircd
1353 pts/0 S+ 0:00 grep kodi/bin/sh /usr/bin/kodi-standalone -l /run/lirc/lircd
1914 pts/0 S+ 0:00 /bin/sh /usr/bin/kodi-standalone -l /run/lirc/lircd
1916 pts/0 S+ 0:00 /bin/sh /usr/bin/kodi --standalone -l /run/lirc/lircd
1919 pts/0 Rl+ 2:16 /usr/lib/kodi/kodi.bin --standalone -l /run/lirc/lircd
1971 pts/1 S+ 0:00 grep kodiOffline
Are you using kodi-standalone-service from the AUR or did you roll your own?
Offline
Thanks for reply.
Hmm...actually none of them.
I've installed kodi for raspberry pi, and there was a kodi.service build-in.
/usr/lib/systemd/system/kodi.service
[Unit]
Description = Starts an instance of Kodi
After = remote-fs.target
[Service]
User = kodi
Group = kodi
Type = simple
ExecStart = /usr/bin/kodi-standalone -l /run/lirc/lircd
Restart = on-failure
[Install]
WantedBy = multi-user.targetOffline
Dunno.. U should probably post on arch arm not here since it's an rpi.
Offline
Thanks a lot ![]()
Offline