Add generic Luigi install logic
at least try to do what we can to reduce boilerplate
This commit is contained in:
parent
ca59000287
commit
6bf697da1d
9 changed files with 302 additions and 0 deletions
24
rattail_fabric2/deploy/luigi/luigi-logrotate.conf.mako
Normal file
24
rattail_fabric2/deploy/luigi/luigi-logrotate.conf.mako
Normal file
|
@ -0,0 +1,24 @@
|
|||
## -*- mode: conf; -*-
|
||||
|
||||
${appdir}/luigi/log/luigi.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 30
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 600 rattail rattail
|
||||
}
|
||||
|
||||
${appdir}/luigi/log/luigi-server.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 30
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 600 rattail rattail
|
||||
postrotate
|
||||
supervisorctl restart luigi:luigid > /dev/null
|
||||
endscript
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue