File: 020_use-slashrun.patch

package info (click to toggle)
iwatch 0.2.2-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 256 kB
  • sloc: perl: 944; sh: 84; xml: 28; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Use /run instead of /var/run.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2020-04-30
Index: iwatch/iwatch
===================================================================
--- iwatch.orig/iwatch
+++ iwatch/iwatch
@@ -24,7 +24,7 @@ my $PROGRAM = "iWatch";
 my $VERSION = "0.2.2";
 my $VERBOSE = 0;
 my $CONFIGFILE = "/etc/iwatch.xml";
-my $PIDFILE = "/var/run/iwatch.pid";
+my $PIDFILE = "/run/iwatch.pid";
 my $CHARSET = "utf-8";
 my $xmlobj;
 my %iwatch;