Added entry for "start -f" flag back
This patch fixes the remove of the "-f" flag when starting a service.
It no longer has any effect, but this prevents the use of it from
causing the binary to fail to start.
@@ -77,6 +77,8 @@ func (c *CLI) initServiceCmds() {
}
func (c *CLI) initServiceFlags() {
+ c.serviceStartCmd.Flags().BoolVarP(&c.nopid, "foreground", "f", false,
+ "Deprecated. The service is always run in the foreground now.")
c.serviceStartCmd.Flags().BoolVarP(&c.nopid, "nopid", "", false,
"Disable PID file checking")
c.serviceStartCmd.Flags().BoolVarP(&c.force, "force", "", false,
