aboutsummaryrefslogtreecommitdiff
path: root/ezau.service
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-06-08 15:35:47 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-06-08 15:35:47 +0200
commitd55d1634c2073768f1781652bb9f15ebe74be697 (patch)
treed14df97fee5bd166760ec1763cd42b6527668c3a /ezau.service
parent3bd2201e51b8899305e4c4370a04389611d7d22e (diff)
downloadezau-d55d1634c2073768f1781652bb9f15ebe74be697.tar.gz
ezau-d55d1634c2073768f1781652bb9f15ebe74be697.tar.bz2
ezau-d55d1634c2073768f1781652bb9f15ebe74be697.zip
add config and subcommands
ezau having the watching functionality is nice, but sometimes for scripts you might want to have the old "upload this single log and post it to discord" functionality. As such, ezau has now been split into two subcommands (which use the same core): ezau watch runs the inotify-based directory watcher to zip and upload new logs. Additionally, it now respects the "upload = ..." config settings, which means you can also use it as a zipper only, without having every log uploaded. ezau upload performs a single-shot upload with the discord notification. Furthermore, the discord auth token/channel id have been moved to a configuration file. Switches to override this for single runs might be provided in the future, but for now, it seems more sensible to have it in a persistent configuration.
Diffstat (limited to 'ezau.service')
0 files changed, 0 insertions, 0 deletions