Table of Contents

About

The following init script can be used to launch private-bower on Debian. You may also want to look at the monit script because it is responsible for restarting private-bower in case the service goes down.

Setup

groupadd private-bower
useradd -g private-bower -d /srv/private-bower -s /bin/false
chown -R private-bower /srv/private-bower
cd /

and issue:

svn export http://svn.grimore.org/configuration-templates/debian/init/private-bower --force .

this will create the necessary files.

Configuring

To configure the init script, edit /etc/default/private-bower and change as you see fit. The private-bower configuration is at /etc/private-bower.json.