File: run.patch

package info (click to toggle)
uptimed 1%3A0.4.6-3.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 696 kB
  • sloc: ansic: 2,684; sh: 217; perl: 166; makefile: 51
file content (18 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Change the default path to save the pidfile
Last-Update: 2016-09-25
Origin: vendor
Forwarded: not-needed

diff --git a/etc/uptimed.conf-dist b/etc/uptimed.conf-dist
index 5a0b970..9eeb7d6 100644
--- a/etc/uptimed.conf-dist
+++ b/etc/uptimed.conf-dist
@@ -28,7 +28,7 @@ SEND_EMAIL=0
 SENDMAIL=/usr/lib/sendmail -t
 
 # Where to note our PID
-PIDFILE=/var/run/uptimed
+PIDFILE=/run/uptimed/uptimed.pid
 
 # Milestones are configurable now.
 # Syntax is pretty easy: MILESTONE=time:description