From c72ab12f0e65ce8f974d76fff4a65930a48cf741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 29 Jun 2016 08:00:38 +0200 Subject: [PATCH] debian: run collectstatic on start (#12362) --- debian/wcs.init | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/wcs.init b/debian/wcs.init index 8b800cf..f7a9db2 100755 --- a/debian/wcs.init +++ b/debian/wcs.init @@ -35,10 +35,12 @@ fi # d_start() { if [ $CONFIG_FILE ]; then + $DAEMON -f $CONFIG_FILE collectstatic start-stop-daemon --start --quiet --pidfile $PIDFILE \ --chuid $WCS_USER:$WCS_GROUP --make-pidfile --background \ --exec $DAEMON -- -f $CONFIG_FILE start $OPTIONS else + $DAEMON collectstatic start-stop-daemon --start --quiet --pidfile $pidfile \ --chuid $WCS_USER:$WCS_GROUP --make-pidfile --background \ --exec $DAEMON -- start $OPTIONS -- 2.8.1