aboutsummaryrefslogtreecommitdiff
path: root/gmid.1
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-27 12:04:37 +0000
committerOmar Polo <op@omarpolo.com>2021-01-27 12:04:37 +0000
commit46af8c6cfe1f1ec15d93bc58791f4596c610785b (patch)
treecadd63f151184b15c77a2217867483dab602bec6 /gmid.1
parent7957cbd9aad6ace179287b2ddcbae0b14a25a90d (diff)
drop the daemon config in favour of the -f flag
Now it daemonize by default when running with a config, unless the -f flag is given.
Diffstat (limited to 'gmid.1')
-rw-r--r--gmid.112
1 files changed, 5 insertions, 7 deletions
diff --git a/gmid.1 b/gmid.1
index 4aff056..487afdd 100644
--- a/gmid.1
+++ b/gmid.1
@@ -20,7 +20,7 @@
.Sh SYNOPSIS
.Nm
.Bk -words
-.Op Fl n
+.Op Fl fn
.Op Fl c Ar config
|
.Op Fl 6h
@@ -38,6 +38,8 @@ It can run without a configuration file with a limited set of features
available.
If a configuration file is given, no other flags shall be given,
except for
+.Fl f
+and
.Fl n .
.Pp
.Nm
@@ -48,6 +50,8 @@ The options are as follows:
.Bl -tag -width 14m
.It Fl c Pa config
Specify the configuration file.
+.It Fl f
+Stays and logs on the foreground.
.It Fl n
Check that the configuration is valid, but don't start the server.
.El
@@ -121,12 +125,6 @@ A string is a sequence of characters wrapped in double quotes,
.Dq like this .
.Ss Global Options
.Bl -tag -width 12m
-.It Ic daemon Ar bool
-Enable or disables the daemon mode.
-In daemon mode
-.Nm
-will log to syslog and fork in the background.
-By default is on.
.It Ic ipv6 Ar bool
Enable or disable IPv6 support.
By default is off.