Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Logrotate addition for supervisor & uwsgi

  • Loading branch information...
commit bc8cf2185a5eb775f648ea9a7bb8ab4d7aebdf4a 1 parent 6c4b47c
@cybertoast cybertoast authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  etc/logrotate.d/lp-changebyus.tmpl
View
1  etc/logrotate.d/lp-changebyus.tmpl
@@ -23,6 +23,7 @@
/etc/init.d/lighttpd reload %(app_path)s > /dev/null 2>&1; \
fi; \
fi;
+ [ -f %(run_path)s/uwsgi.sock ] && sudo supervisorctl restart %(application)s
endscript
}
Please sign in to comment.
Something went wrong with that request. Please try again.