VRFS-188: switch from blacklist to whitelisting
This commit is contained in:
parent
52cf087321
commit
914bc7302f
2
build
2
build
|
|
@ -84,7 +84,7 @@ if [ -n "$PACKAGE" ]; then
|
|||
bundle exec rake assets:precompile RAILS_ENV=production
|
||||
|
||||
# create debian using fpm
|
||||
bundle exec fpm -s dir -t deb -p target/deb/jam-web_0.1.${BUILD_NUMBER}_${ARCH}.deb -n "jam-web" -v "0.1.$BUILD_NUMBER" --prefix /var/lib/jam-web --after-install $DIR/script/package/post-install.sh --before-install $DIR/script/package/pre-install.sh --before-remove $DIR/script/package/pre-uninstall.sh --after-remove $DIR/script/package/post-uninstall.sh --exclude $DIR/.git .
|
||||
bundle exec fpm -s dir -t deb -p target/deb/jam-web_0.1.${BUILD_NUMBER}_${ARCH}.deb -n "jam-web" -v "0.1.$BUILD_NUMBER" --prefix /var/lib/jam-web --after-install $DIR/script/package/post-install.sh --before-install $DIR/script/package/pre-install.sh --before-remove $DIR/script/package/pre-uninstall.sh --after-remove $DIR/script/package/post-uninstall.sh Gemfile .bundle config Rakefile script config.ru lib public vendor app
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -10,4 +10,7 @@ GROUP="$NAME"
|
|||
# copy upstart file
|
||||
cp /var/lib/$NAME/script/package/$NAME.conf /etc/init/$NAME.conf
|
||||
|
||||
mkdir -p /var/lib/$NAME/log
|
||||
mkdir -p /var/lib/$NAME/tmp
|
||||
|
||||
chown -R $USER:$GROUP /var/lib/$NAME
|
||||
|
|
|
|||
Loading…
Reference in New Issue