diff options
Diffstat (limited to 'actions.sh')
-rwxr-xr-x | actions.sh | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -2,14 +2,22 @@ set -euC -test () { +run_tests () { eval "prove -l ${1-} t/" } -start () { +foreground () { script/jwebmail daemon } +start_dev () { + MOJO_MODE=development hypnotoad script/jwebmail +} + +stop_dev () { + MOJO_MODE=development hypnotoad -s script/jwebmail +} + logrotate () { mode=${1:-development} mv -i "log/$mode.log" "log/${mode}_$(date --iso-8601=minutes).log" |