]> git.proxmox.com Git - mirror_smartmontools-debian.git/commit - debian/patches/series
wait for daemon process to startup
authorGuido Guenther <agx@sigxcpu.org>
Sat, 31 Mar 2007 14:01:18 +0000 (16:01 +0200)
committerGuido Guenther <agx@bogon.sigxcpu.org>
Sat, 31 Mar 2007 14:01:18 +0000 (16:01 +0200)
commite47858fec265fbb83e40c57c9384f10c9623888b
treef4e72297a4f1808f5b2e734418fde8e602067555
parentf519ae90829aa42954e41f971d0a8c26ff4f0eca
wait for daemon process to startup
This fixes the race condition where we're trying to stop a not yet fully
running smartd (pidfile not yet there) and trying to start it just afterwards
(pidfile then there):
while  /etc/init.d/smartmontools start; do  /etc/init.d/smartmontools stop; done
debian/patches/05_wait-for-daemon-startup.diff [new file with mode: 0644]
debian/patches/series
debian/smartmontools.init