Skip to content
GNU MediaGoblin init scripts for Debian >= 6.0
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


GNU MediaGoblin init scripts

Run your MediaGoblin server and task queue as services that start automatically on reboot.

These scripts should free you of some burdens, and if you don't feel you have any, you might not need them :)


These MediaGoblin init scripts are compatible with Debian's dependency-based boot sequence. They use functions sourced from /lib/lsb/init-functions and are installed with insserv.

For Arch alternatives, see MediaGoblin - ArchLinux rc.d scripts by jpope and Mediagoblin init script on Archlinux by Chimo.


The easy way


cd <mediagoblin-git-root-here>
# Run this command as the user you will run the services as.
curl | sh


For this one you must trust the connection between the server and you, and whoever has access to that machine (me) enough to compromise your entire machine and connected devices.

The script will by design ask for your sudo password to install the services.

Think this trust-dependency can be avoided? Feel free to ping me anywhere and/or submit a pull request.

The hard but safe way

  1. Download the script.
  2. Open the script in your favourite text editor.
  3. Replace MG_ROOT=... and MG_USER=... with values that fit your environment.
  4. Save the script to /etc/init.d/mediagoblin-paster (without the .sh file extension)
  5. Run sudo insserv mediagoblin-paster.
  6. Repeat all steps again, but with mediagoblin-celery-worker.

Now, to start the services, simply run sudo service mediagoblin-paster start and sudo service mediagoblin-celery-worker start.



You can’t perform that action at this time.