summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dpibreak.1.in4
-rw-r--r--dpibreak.1.md7
2 files changed, 6 insertions, 5 deletions
diff --git a/dpibreak.1.in b/dpibreak.1.in
index b62cae5..2f6d778 100644
--- a/dpibreak.1.in
+++ b/dpibreak.1.in
@@ -60,10 +60,10 @@ startup.
.TP
.BR \-D ", " \-\-daemon
Run as a background daemon. Logs are written to
-.B /tmp/dpibreak.log.
+.B /var/log/dpibreak.log.
If a daemon is already running, it will fail with "unable to lock pid
file". To stop it, run
-.B kill \(gacat /tmp/dpibreak.pid\(ga
+.B kill \(gacat /run/dpibreak.pid\(ga
as root.
.RS
.PP
diff --git a/dpibreak.1.md b/dpibreak.1.md
index f5760b2..29ee490 100644
--- a/dpibreak.1.md
+++ b/dpibreak.1.md
@@ -41,9 +41,10 @@ program opens the driver automatically at startup.
## OPTIONS
**-D**, **--daemon**
-Run as a background daemon. Logs are written to **/tmp/dpibreak.log.**
-If a daemon is already running, it will fail with "unable to lock pid
-file". To stop it, run **kill \`cat /tmp/dpibreak.pid\`** as root.
+Run as a background daemon. Logs are written to
+**/var/log/dpibreak.log.** If a daemon is already running, it will fail
+with "unable to lock pid file". To stop it, run **kill \`cat
+/run/dpibreak.pid\`** as root.
On Windows, this option enters the service controller entry point.
Example: **sc create dpibreak binPath= "dpibreak.exe -D" start= auto; sc