Projet

Général

Profil

0001-debian-run-collectstatic-on-start-12362.patch

Frédéric Péters, 29 juin 2016 08:02

Télécharger (996 octets)

Voir les différences:

Subject: [PATCH] debian: run collectstatic on start (#12362)

 debian/wcs-au-quotidien.init | 2 ++
 1 file changed, 2 insertions(+)
debian/wcs-au-quotidien.init
38 38
#
39 39
d_start() {
40 40
	if [ $CONFIG_FILE ]; then
41
		$DAEMON -f $CONFIG_FILE collectstatic $OPTIONS
41 42
		start-stop-daemon --start --quiet --pidfile $PIDFILE \
42 43
			--chuid $WCS_USER:$WCS_GROUP --make-pidfile --background \
43 44
			--exec $DAEMON -- -f $CONFIG_FILE start $OPTIONS
44 45
	else
46
		$DAEMON collectstatic $OPTIONS
45 47
		start-stop-daemon --start --quiet --pidfile $PIDFILE \
46 48
			--chuid $WCS_USER:$WCS_GROUP --make-pidfile --background \
47 49
			--exec $DAEMON -- start $OPTIONS
48
-