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 (913 octets)

Voir les différences:

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

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