add systemd service files

collect configiguration together
update README
This commit is contained in:
2020-01-15 14:48:44 +01:00
parent d31c1ae72d
commit 41861da83e
6 changed files with 68 additions and 48 deletions

View File

@@ -17,11 +17,6 @@ import (
"github.com/spf13/viper"
)
var (
// GlobalApp holds a pointer for the App
cronJob *cron.Cron
)
func init() {
viper.SetDefault("development_mode", true)
viper.SetDefault("cronjob_interval", "@every 5m")