Configuration
Command Flags
$ fivenet --help
Usage: fivenet <command> [flags]
Flags:
-h, --help Show context-sensitive help.
--config=STRING Config file path ($FIVENET_CONFIG_FILE)
--start-timeout=180s App start timeout duration ($FIVENET_START_TIMEOUT)
--skip-migrations Disable the automatic DB migrations on startup ($FIVENET_SKIP_DB_MIGRATIONS).
Commands:
server [flags]
Run FiveNet server.
worker [flags]
Run FiveNet worker.
discord [flags]
Run FiveNet Discord bot.
db-sync [flags]
Run FiveNet database sync.
tools db version
Display db migration version info
tools db up
Run any outstanding migrations
tools user-activity-migrate [flags]
Run "fivenet <command> --help" for more information on a command.
Server
$ fivenet server --help
Usage: fivenet server [flags]
Run FiveNet server.
Flags:
-h, --help Show context-sensitive help.
--config=STRING Config file path ($FIVENET_CONFIG_FILE)
--start-timeout=180s App start timeout duration ($FIVENET_START_TIMEOUT)
--skip-migrations Disable the automatic DB migrations on startup ($FIVENET_SKIP_DB_MIGRATIONS).
--module-cron-agent Run the cron agent, should only be used for single container/binary deployments.
Worker
$ fivenet worker --help
Usage: fivenet worker [flags]
Run FiveNet worker.
Flags:
-h, --help Show context-sensitive help.
--config=STRING Config file path ($FIVENET_CONFIG_FILE)
--start-timeout=180s App start timeout duration ($FIVENET_START_TIMEOUT)
--skip-migrations Disable the automatic DB migrations on startup ($FIVENET_SKIP_DB_MIGRATIONS).
--module-audit-retention Start Audit log retention module
--module-centrum-bot Start Centrum bot module
--module-centrum-housekeeper Start Centrum Housekeeper module
--module-user-tracker Start User tracker module
--module-jobs-timeclock Start Jobs timeclock housekeeper module
--module-docs-workflow Start Docstore Workflow module
--module-housekeeper Start Housekeepr module
Discord
$ fivenet discord --help
Usage: fivenet discord [flags]
Run FiveNet Discord bot.
Flags:
-h, --help Show context-sensitive help.
--config=STRING Config file path ($FIVENET_CONFIG_FILE)
--start-timeout=180s App start timeout duration ($FIVENET_START_TIMEOUT)
--skip-migrations Disable the automatic DB migrations on startup ($FIVENET_SKIP_DB_MIGRATIONS).
--module-cron-agent Run the cron agent.
DBSync
$ fivenet db-sync --help
Usage: fivenet db-sync [flags]
Run FiveNet database sync.
Flags:
-h, --help Show context-sensitive help.
--config=STRING Config file path ($FIVENET_CONFIG_FILE)
--start-timeout=180s App start timeout duration ($FIVENET_START_TIMEOUT)
--skip-migrations Disable the automatic DB migrations on startup ($FIVENET_SKIP_DB_MIGRATIONS).
Tools
$ fivenet tools --help
Usage: fivenet tools <command> [flags]
Run FiveNet tools/helpers.
Flags:
-h, --help Show context-sensitive help.
--config=STRING Config file path ($FIVENET_CONFIG_FILE)
--start-timeout=180s App start timeout duration ($FIVENET_START_TIMEOUT)
--skip-migrations Disable the automatic DB migrations on startup ($FIVENET_SKIP_DB_MIGRATIONS).
Commands:
tools db version
Display db migration version info
tools db up
Run any outstanding migrations
tools user-activity-migrate [flags]