mirror of
https://github.com/snoyberg/keter.git
synced 2024-12-24 06:46:35 +03:00
Fix deb packaging script for Upstart (Ubuntu)
This commit is contained in:
parent
46d74d784f
commit
09361ce275
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user