From fb87925ad60f26c1cd7222eaf94324c39e9e432c Mon Sep 17 00:00:00 2001 From: Bertrand Paquet Date: Wed, 11 Nov 2015 20:53:35 +0100 Subject: [PATCH 1/2] Force statsd restart when updating package --- packager/postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/packager/postinst b/packager/postinst index 6b5ade03..3ba76a2d 100755 --- a/packager/postinst +++ b/packager/postinst @@ -13,4 +13,5 @@ chown $APP_USER.$APP_GROUP $APP_CONFIG ln -f -s $APP_CONFIG /opt/$APP_NAME/config.js chmod 0640 $APP_CONFIG +${CLI} scale web=0 || true ${CLI} scale web=1 || true From 493e2ca4269a1351ff9fc655b45f5b1c0337ce78 Mon Sep 17 00:00:00 2001 From: Bertrand Paquet Date: Wed, 11 Nov 2015 20:54:34 +0100 Subject: [PATCH 2/2] Remove all default dependencies in generated package Remove all default dependencies in generated package like mysql, postgres, libxml ... --- .pkgr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pkgr.yml b/.pkgr.yml index b4acb42b..b412d0d2 100644 --- a/.pkgr.yml +++ b/.pkgr.yml @@ -1,3 +1,4 @@ +default_dependencies: false targets: ubuntu-14.04: ubuntu-12.04: