LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File smartmontools-var-lock-subsys.patch of Package smartmontools (Project home:sbrabec:branches:smartmontools-systemd-bsc983938)

Index: smartmontools-5.42/smartd.initd.in
===================================================================
--- smartmontools-5.42.orig/smartd.initd.in
+++ smartmontools-5.42/smartd.initd.in
@@ -62,7 +62,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()