smartmontools/smartmontools-var-lock-subsys.patch

14 lines
399 B
Diff

Index: smartmontools-5.42/smartd.initd.in
===================================================================
--- smartmontools-5.42.orig/smartd.initd.in
+++ smartmontools-5.42/smartd.initd.in
@@ -50,7 +50,7 @@ if [ -f /etc/redhat-release -o -f /etc/y
RETVAL=0
prog=smartd
- pidfile=/var/lock/subsys/smartd
+ pidfile=/var/run/smartd.pid
config=/etc/smartd.conf
start()