From c47386ebdf270a1a90cb1d2f16d950ac33952d37 Mon Sep 17 00:00:00 2001 From: Bjoern Sikora Date: Fri, 21 May 2010 18:06:10 +0200 Subject: [PATCH] Changes in spec file: Restrictive folder and file attributes. --- scripts/bpdyndnsd | 4 ++-- src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/bpdyndnsd b/scripts/bpdyndnsd index 8ca3124..274f6e9 100755 --- a/scripts/bpdyndnsd +++ b/scripts/bpdyndnsd @@ -6,7 +6,7 @@ # description: Bullet proof dynamic DNS update daemon. # processname: bpdyndnsd # config: /etc/bpdyndnsd/bpdyndnsd.conf -# pidfile: /var/run/bpdyndnsd.pid +# pidfile: /var/run/bpdyndnsd/bpdyndnsd.pid # Source function library. . /etc/rc.d/init.d/functions @@ -22,7 +22,7 @@ group=bpdyndnsd # Binary file prog=/usr/bin/bpdyndnsd # PID file -pidfile=/var/run/bpdyndnsd.pid +pidfile=/var/run/bpdyndnsd/bpdyndnsd.pid test -x ${prog} || exit 0 test -e /etc/bpdyndnsd/bpdyndnsd.conf || exit 0 diff --git a/src/main.cpp b/src/main.cpp index 2b42217..f4fbc66 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -11,7 +11,7 @@ #include #endif -#define PIDFILE "/var/run/bpdyndnsd.pid" +#define PIDFILE "/var/run/bpdyndnsd/bpdyndnsd.pid" #include #include -- 1.7.1