Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Different Shutdown process from Kodi or ssh
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Different Shutdown process from Kodi or ssh
26th Apr, 2020, 12:39 AM
Post: #2
Gauner Offline
Registered
Posts: 20
Joined: Apr 2020
Reputation: 0
RE: Different Shutdown process from Kodi or ssh
Ok, I figured at least something out:
XBian uses the upstart mechanism for booting, right?
Terminal
xbian@xbian / $ /sbin/init --version
init (upstart 1.13.2)
and
Terminal
xbian@xbian / $ systemctl status
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
tell me so.
Terminal
xbian@xbian / $ sudo shutdown -h now
executes the scripts I put in /etc/init.d/ and symlinked in /etc/rc?.d/. These folders also belong to the upstart- / System-V-system. But they don#t get executed when shutdown from Kodi (I also check whether the passed parameter is different - it isn't, they don#t get executed at all).
On the other hand, scripts inside /lib/systemd/system-shutdown/ get executed as well, also if I shutdown from inside Kodi. This folder belongs to the systemd-System.

So, I ask: Is Kodi using systemd, while the rest of Xbian uses upstart? Is this a bug?
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Messages In This Thread
Different Shutdown process from Kodi or ssh - Gauner - 24th Apr, 2020, 04:14 AM
RE: Different Shutdown process from Kodi or ssh - Gauner - 26th Apr, 2020 12:39 AM
RE: Different Shutdown process from Kodi or ssh - Gauner - 26th Apr, 2020, 04:19 AM
RE: Different Shutdown process from Kodi or ssh - Nachteule - 26th Apr, 2020, 11:37 PM
RE: Different Shutdown process from Kodi or ssh - Gauner - 27th Apr, 2020, 03:29 AM
RE: Different Shutdown process from Kodi or ssh - Nachteule - 27th Apr, 2020, 05:09 AM
RE: Different Shutdown process from Kodi or ssh - Gauner - 29th Apr, 2020, 01:23 AM
RE: Different Shutdown process from Kodi or ssh - sarahroxon9 - 18th Apr, 2022, 01:38 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  xbian-config doesn't show kodi process running.... Skywatch 5 15,556 14th Feb, 2015 11:10 PM
Last Post: Smultie

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 5th Jun, 2025, 06:56 PM Powered By MyBB, © 2002-2025 MyBB Group.