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
rattail_fabric2/deploy/luigi
14
rattail_fabric2/deploy/luigi/rotate-logs.sh.mako
Executable file
14
rattail_fabric2/deploy/luigi/rotate-logs.sh.mako
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh -e
|
||||
<%text>######################################################################</%text>
|
||||
#
|
||||
# rotate Luigi server log file
|
||||
#
|
||||
<%text>######################################################################</%text>
|
||||
|
||||
if [ "$1" = "--verbose" ]; then
|
||||
VERBOSE='--verbose'
|
||||
else
|
||||
VERBOSE=
|
||||
fi
|
||||
|
||||
/usr/sbin/logrotate $VERBOSE ${appdir}/luigi/logrotate.conf
|
Loading…
Add table
Add a link
Reference in a new issue