run collectstatic in before_restart block with environment variables

move collectstatic into before_restart as it might depend on symlinked in settings and run with the appropriate environment variables