<commit_before>============================
GNU MediaGoblin init scripts
============================

.. image:: http://api.flattr.com/button/flattr-badge-large.png
    :target: http://flattr.com/thing/695398/jwandborgmediagoblin-init-scripts-on-GitHub

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 :)

Compatibility
-------------

The MediaGoblin init scripts are made compativle with `Debian's
dependency-based boot sequence`_. They use functions sourced from
``/lib/lsb/init-functions`` and are installed with ``insserv``.

.. _`Debian's dependency-based boot sequence`: http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot

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

.. _`MediaGoblin - ArchLinux rc.d scripts by jpope`: http://whird.jpope.org/2012/04/14/mediagoblin-archlinux-rcd-scripts
.. _`Mediagoblin init script on Archlinux by Chimo`: http://chimo.chromic.org/2012/03/01/mediagoblin-init-script-on-archlinux/

Installation
------------

The easy way
~~~~~~~~~~~~

Run::

    cd <mediagoblin-git-root-here>
    # Run this command as the user you will run the services as.
    curl http://wandborg.se/mediagoblin-init-scripts/installer.sh | sh

.. warning::

    For this one you must trust the connection between the wandborg.se 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.<commit_msg>Fixed a typo in README<commit_after>============================
GNU MediaGoblin init scripts
============================

.. image:: http://api.flattr.com/button/flattr-badge-large.png
    :target: http://flattr.com/thing/695398/jwandborgmediagoblin-init-scripts-on-GitHub

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 :)

Compatibility
-------------

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``.

.. _`Debian's dependency-based boot sequence`: http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot

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

.. _`MediaGoblin - ArchLinux rc.d scripts by jpope`: http://whird.jpope.org/2012/04/14/mediagoblin-archlinux-rcd-scripts
.. _`Mediagoblin init script on Archlinux by Chimo`: http://chimo.chromic.org/2012/03/01/mediagoblin-init-script-on-archlinux/

Installation
------------

The easy way
~~~~~~~~~~~~

Run::

    cd <mediagoblin-git-root-here>
    # Run this command as the user you will run the services as.
    curl http://wandborg.se/mediagoblin-init-scripts/installer.sh | sh

.. warning::

    For this one you must trust the connection between the wandborg.se 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.
{'fraction_non_alphanumeric': 0.13929193267556586, 'fraction_numerical': 0.012768427161926872, 'mean_word_length': 3.8824362606232294, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '850050', 'n_tokens_mistral': 1085, 'n_tokens_neox': 1014, 'n_words': 350}