Add generic Luigi install logic

at least try to do what we can to reduce boilerplate
This commit is contained in:
Lance Edgar 2022-01-28 15:29:32 -06:00
parent ca59000287
commit 6bf697da1d
9 changed files with 302 additions and 0 deletions
rattail_fabric2/deploy/luigi

View 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