Can OSMC be a) used for a headless server, and b) set to update automatically (without user intervention)?
I used to use OSMC on an RPI2 (thanks!) until my Android Smart TV negated the need, but I’m now trying to set up a headless IPTV PVR Server on an RPI3B (soon to be 3B+).
I remembering that OSMC updated quite frequently, and required me to click “ok” to shut down KODI and update the software. This wouldn’t be possible if I’m running heedlessly…
I would just run:
sudo systemctl stop mediacenter
sudo systemctl disable mediacenter
I wouldn’t go down the automated update route, because if there is a kernel update the pi will need to a reboot to get the benefit of it. Updates normally come come out about once of month so these should be quite easy to manage via the command line:
sudo apt-get update
sudo apt-get dist-upgrade
and reboot if required.
Thanks Tom. These instructions are succinct and easy to follow.
One more question, and apologies if I’m being daft (being a relative newbie to most)…
Could I set up an update and reboot as a monthly, root elevated, overnight cron job? Save having to do it manually (when I’d probably never remember)?
You can — but this is not recommended