Fix deb packaging script for Upstart (Ubuntu)

This commit is contained in:
Anupam Jain 2015-09-18 18:49:38 +05:30
parent 46d74d784f
commit 09361ce275

View File

@ -70,12 +70,18 @@ fi
# use fpm to generate the debian package.
echo building deb file
# for sysv (debian 6,7)
$FPM -n $NAME -v $VER -t deb --deb-init=init/sysv/keter \
--config-files /etc/keter.conf \
--deb-user www-data \
--deb-group www-data \
-s dir bin/keter=/usr/sbin/keter etc/keter-config.yaml=/etc/keter.conf var/www=var
$FPM -n $NAME -v $VER -t deb \
--deb-init=init/sysv/keter \
--config-files /etc/keter.conf \
--deb-user www-data \
--deb-group www-data \
-s dir bin/keter=/usr/sbin/keter etc/keter-config.yaml=/etc/keter.conf var/www=var
# for upstart (ubuntu?)
# $FPM -n $NAME -v $VER -t deb --deb-init=init/sysv/keter --config-files /opt/keter/etc/keter-config.yaml -s dir bin/keter=/opt/keter/bin/keter etc/keter-config.yaml=/opt/keter/etc/keter-config.yaml
# $FPM -n $NAME -v $VER -t deb
# --deb-upstart=init/upstart/keter \
# --config-files /etc/keter.conf \
# --deb-user www-data \
# --deb-group www-data \
# -s dir bin/keter=/usr/sbin/keter etc/keter-config.yaml=/etc/keter.conf var/www=var
echo DONE!