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.
private-bower
using adduser
or useradd
. The user will need a home-folder and the correct permissions set on the folder: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.
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
.