Projet

Général

Profil

« Précédent | Suivant » 

Révision f673e479

Ajouté par Frédéric Péters il y a presque 8 ans

debian: run collectstatic on start (#12362)

Voir les différences:

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

Formats disponibles : Unified diff