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

Restart xbmc with script?
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Restart xbmc with script?
7th Sep, 2013, 04:42 PM
Post: #3
Takenover83 Offline
Registered
Posts: 14
Joined: Sep 2013
Reputation: 1
RE: Restart xbmc with script?
(7th Sep, 2013 03:46 PM)kraleksandr Wrote:  
Terminal
xbian@xbian ~ $ cat xbres.sh
#!/bin/bash
service xbmc stop
service xbmc start
xbian@xbian ~ $ sudo cat /etc/sudoers | grep xbres
xbian ALL=(ALL) NOPASSWD: /home/xbian/xbres.sh
Just run "sudo /home/xbian/xbres.sh" and your XBMC will (re)start.
Thanks for that. Does the "service" command work for normal user's? I remember trying it I think as a normal user, and got command not found. Worked fine when I threw sudo in front of it. In any case, I will give this a test later. Thanks again.
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Messages In This Thread
Restart xbmc with script? - Takenover83 - 7th Sep, 2013, 09:12 AM
RE: Restart xbmc with script? - kraleksandr - 7th Sep, 2013, 03:46 PM
RE: Restart xbmc with script? - Takenover83 - 7th Sep, 2013 04:42 PM
RE: Restart xbmc with script? - namtih - 7th Sep, 2013, 04:53 PM
RE: Restart xbmc with script? - Takenover83 - 7th Sep, 2013, 05:58 PM
RE: Restart xbmc with script? - eirawalker - 18th Mar, 2022, 02:21 PM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [Script] Play YouTube to XBMC from PC brantje 22 72,746 30th Mar, 2013 12:02 AM
Last Post: brantje
  Auto restart XBMC if service is not responding or running xraxor 3 13,709 20th Mar, 2013 11:52 PM
Last Post: CurlyMo

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

Current time: 19th May, 2025, 11:27 AM Powered By MyBB, © 2002-2025 MyBB Group.