Hirdetés
-
PROHARDVER!
Amit érdemes tudni a Raspberry Pi-kről:
A legelső változat 2012-ben jelent meg. Pici, olcsó és nagyon alacsony fogyasztású, hobby-célú kártyagép. Felépítése ARM alapú, nem PC-architektúra, hanem kb. egy régi mobilhoz hasonló. Nagyon sok mindenre használható! A Linux-nak és a magas eladási mennyiségnek köszönhetően jelentős fejlesztőtáborral rendelkezik.
Új hozzászólás Aktív témák
-
joysefke
veterán
válasz
Salex1
#30654
üzenetére
Én is mára terveztem ezt megcsinálni, de a Pi máshogy akarta, ismét fájlrendszer hibával indult, most ezzel vagyok elfoglalva.
Én tegnap ezt találtam a Kodi autostartról:
Hi,
As far as I can understand, Debian Jessie and Debian Stretch (and the derivated Raspbian ones) use the new init system systemd, not the old one sysvInit. So the use of the start/stop script /etc/init.d/kodi and relative /etc/default/kodi configuration file, should be discouraged.
We should instead create a systemd unit file. I ended with this functional solution, running on 2017-11-29-raspbian-stretch-lite. I did not install the xerver.xorg system, the kodi-standalone program is run by the kodi user, which I created.
This is the/etc/systemd/system/kodi.serviceunit file:[Unit]
Description = Kodi Media Center
# if you don't need the MySQL DB backend, this should be sufficient
After = systemd-user-sessions.service network.target sound.target
# if you need the MySQL DB backend, use this block instead of the previous
# After = systemd-user-sessions.service network.target sound.target mysql.service
# Wants = mysql.service
[Service]
User = kodi
Group = kodi
Type = simple
ExecStart = /usr/bin/kodi-standalone
Restart = always
RestartSec = 15
[Install]
WantedBy = multi-user.targetTo install, enable and run the service:
systemctl daemon-reload
systemctl enable kodi.service
systemctl start kodi.service
The kodi user was created witht the following commands:
adduser --disabled-password --gecos "User to run Kodi Media Center" kodi
adduser kodi audio
adduser kodi video
adduser kodi plugdev
adduser kodi input
Új hozzászólás Aktív témák
- Samsung Galaxy Felhasználók OFF topicja
- Milyen okostelefont vegyek?
- iPhone-t használók OFF topikja
- Milyen alaplapot vegyek?
- Brogyi: CTEK akkumulátor töltő és másolatai
- Milyen asztali (teljes vagy fél-) gépet vegyek?
- Mobil flották
- NBA és kosárlabda topic
- NIOH 3
- Kerékpárosok, bringások ide!
- További aktív témák...
- Ryzen 5 7600X + 9060XT 16GB DDR5 konfig eladó
- BONTATLAN DOBOZOS ThinkCentre M70s SFF Business Időtálló Asztali gép -50% i5-14500 16/512 770 Magyar
- Játszogatós PC - Ryzen 5 7600, RX 7800 XT, 32GB DDR5 RAM, 1TB SSD
- 15.gen! Intel Core ULTRA 9 285K (24mag!) +hűtött VRM-es Z890 lap! GAR/SZÁMLA (Te nevedre kiállítva)!
- Akciós! PC , 14100F , RTX 3080 , 16GB RGB , 512GB NVME , 500GB HDD
- 215 - Lenovo LOQ (15IRX9) - Intel Core i7-13650HX, RTX 4060
- HIBÁTLAN iPhone 13 Mini 256GB Red -1 ÉV GARANCIA - Kártyafüggetlen, MS4428
- BESZÁMÍTÁS! Asus Z170 Deluxe Z170 chipset alaplap garanciával hibátlan működéssel
- iPhone 11 64GB 100% (3hónap Garancia)
- 222 - Lenovo LOQ (15IRX10) - Intel Core i5-13450HX, RTX 5050
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
Cég: Laptopműhely Bt.
Város: Budapest
wassermann

