Skip to content

Instantly share code, notes, and snippets.

@PoisonousJohn
Last active March 6, 2016 23:43
Show Gist options
  • Save PoisonousJohn/a67836bd881b64630205 to your computer and use it in GitHub Desktop.
Save PoisonousJohn/a67836bd881b64630205 to your computer and use it in GitHub Desktop.
Run AceStream engine on startup of OSMC
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
(
runuser -l osmc -c '/home/osmc/.kodi/userdata/addon_data/program.plexus/acestream/start_acestream.sh --client-console --live-cache-type memory --live-cache-size 20971520 --live-buffer 60'
)&
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment