0001-debian-run-collectstatic-on-start-12362.patch
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 |
- |