cmd

package
v0.0.0-...-ccd7334 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdStandalone = cli.Command{
	Name:        "standalone",
	Usage:       "Start GoIMServer in standalone mode",
	Description: `GoIMServer in standalone mode is good for testing`,
	Action:      runStandalone,
	Flags: []cli.Flag{
		stringFlag("config, c", "/etc/goimserver/config.ini", "Custom configuration file path"),
	},
}
View Source
var CmdSystemd = cli.Command{
	Name:        "systemd",
	Usage:       "Start GoIMServer in systemd mode",
	Description: `GoIMServer in systemd mode has special systemd integration`,
	Action:      runSystemd,
	Flags: []cli.Flag{
		boolFlag("start", "Start service"),
		boolFlag("stop", "Stop service"),
		boolFlag("restart", "Restart service"),
		stringFlag("profile", "config", "Configuration profile"),
		stringFlag("config, c", "", "Custom configuration file path"),
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL