diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-07-08 09:00:32 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-07-08 09:00:32 +0000 |
commit | d5a47a2cc43ac0d8339f09b9b3476885c8d44e2d (patch) | |
tree | e533d3edc600bcabefb6bb7a9894b5b4522f0fe4 /sci-misc/boinc | |
parent | Version bump (diff) | |
download | historical-d5a47a2cc43ac0d8339f09b9b3476885c8d44e2d.tar.gz historical-d5a47a2cc43ac0d8339f09b9b3476885c8d44e2d.tar.bz2 historical-d5a47a2cc43ac0d8339f09b9b3476885c8d44e2d.zip |
Use pidfile in initscript. Per bug #276271.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'sci-misc/boinc')
-rw-r--r-- | sci-misc/boinc/ChangeLog | 5 | ||||
-rw-r--r-- | sci-misc/boinc/Manifest | 10 | ||||
-rw-r--r-- | sci-misc/boinc/files/boinc.init | 4 |
3 files changed, 13 insertions, 6 deletions
diff --git a/sci-misc/boinc/ChangeLog b/sci-misc/boinc/ChangeLog index 1db5ef72affb..412100467e41 100644 --- a/sci-misc/boinc/ChangeLog +++ b/sci-misc/boinc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-misc/boinc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.65 2009/05/29 16:42:45 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.66 2009/07/08 09:00:31 scarabeus Exp $ + + 08 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> files/boinc.init: + Use pidfile in initscript. Per bug #276271. 29 May 2009; Tomáš Chvátal <scarabeus@gentoo.org> boinc-6.4.5-r2.ebuild, files/boinc.init: diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest index 8b0cdbf74849..9ca67fa450e8 100644 --- a/sci-misc/boinc/Manifest +++ b/sci-misc/boinc/Manifest @@ -5,15 +5,15 @@ AUX 6.4.5-RSA_security.patch 2413 RMD160 8bf2d0573fedbdbc54f0c479747a23f0ff840f2 AUX 6.4.5-gcc44.patch 1831 RMD160 82aaff8e51077c712b318a473a77a69ec1e1b615 SHA1 bdd2f4baa48d7949d37150e926dcd0a0625caaf8 SHA256 63d9005aab4e60522f32484694c42f70d291b492c76a839aff348be052845fc4 AUX 6.4.5-nostrip.patch 1052 RMD160 9a23c9cd8f3a47fe53fe8cccfca6d0b94587f716 SHA1 bae0a9de0c0980fd1f64e8b60a74548554dbe382 SHA256 f301d68819c4d93b930d4179ff2bb604d23ca7e221d843c6ed6cf65f27a53da2 AUX boinc.conf 711 RMD160 b6bb25b9d10cbefd3de5d653e701e056e2de4587 SHA1 570929cb4ed50d4fc4408624c4d0d330e208609c SHA256 032f07145ee230f069ffdc93befe90c047fba4314aedfc8024bdb44c06798e9e -AUX boinc.init 3073 RMD160 efe2e943e09f6bfd37c44d9d2a41aeb8a0ed8bd6 SHA1 c04a3cb684968830cb9314bd7afab5f66b5c69ac SHA256 a52949230afb6e2b5af0c87a0f32210e5885fa3ef02dfbfcc0a411e3e1948200 +AUX boinc.init 3162 RMD160 4e68afaf242eb134dc87d62832df1c7d73623794 SHA1 07e63710156b7210fb14ba7c330793515cf24a28 SHA256 816f3157c5561cdf3482e4d8c60600043b631ee6c1452c416c337adcf5383628 DIST boinc-6.4.5.tar.bz2 7639286 RMD160 8f7232a3e7d273076f6b2ae50b565550c03485cc SHA1 24c63d11c8e9ebda17beac359928407ce3b8678d SHA256 f6f1d053f10873ed9b3b6ce8dc4444a49f6c804196a3eb080f574db36e58557a EBUILD boinc-6.4.5-r2.ebuild 4266 RMD160 cf602867d9b53436dd72c7ed6d11810b7b703266 SHA1 4e7e46c1530a8405de1f795bf37d0e6c92f8e08e SHA256 360773ad414711b116e84a9aad4a840f154112f0d861448a9e51039e7b214623 -MISC ChangeLog 12484 RMD160 93e03257bff765e02b5bc56e426932f05768840c SHA1 cb74a3a95c0d6308cd2fbecf6952e03f1c81c93d SHA256 c7104ee6c0a0a0e8b15d123682753076ea92bb6c3338f37cc08ac805ffde5737 +MISC ChangeLog 12604 RMD160 8ca13580d16fa8d6cb908fd169abea9c0f1b2187 SHA1 c38599abc88e50ff7707a4a7680dcabc3a35a3c2 SHA256 7aa6502fdb092da07ebf9a7dea4e8e28b8e6e210c1d370245b3e7ea07b7dd813 MISC metadata.xml 697 RMD160 8cfc36bbae9395d2675629d68af1c6354244bd5f SHA1 bcfd28d367a81a6fa8b6a548703270cb066a9392 SHA256 614f44eeb4b76fccb040b9ab7dee69e50152c930a9224946010f39e7eed6e04c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkogEJEACgkQHB6c3gNBRYe0uQCcDaHRiworOJGD6+S9SnOmjM7l -YmUAoL98Vixfr1VPTHrCGRXqgDksuzs3 -=xFAL +iEYEARECAAYFAkpUYDIACgkQHB6c3gNBRYehzACfR0TcEz9EyHeit7QTiIaq99bu +unoAoKrrwjlei3m7E92Nn16xxGSeY/IB +=+TBa -----END PGP SIGNATURE----- diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init index 88bf507201cf..fb2aa40707ba 100644 --- a/sci-misc/boinc/files/boinc.init +++ b/sci-misc/boinc/files/boinc.init @@ -1,6 +1,7 @@ #!/sbin/runscript opts="${opts} attach" +PIDFILE=/var/run/boinc.pid depend() { # we can use dns and net, but we can also in most cases live without them @@ -73,6 +74,8 @@ start() { eval ${CHRT} start-stop-daemon \ --quiet --start --chdir ${RUNTIMEDIR} \ + --pidfile ${PIDFILE} \ + --make-pidfile \ --exec ${BOINCBIN} --chuid ${USER}:${GROUP} \ --nicelevel ${NICELEVEL} \ ${PARAMS} @@ -116,6 +119,7 @@ attach() { stop() { ebegin "Stopping BOINC" start-stop-daemon --stop --retry 3 --quiet --exec ${BOINCBIN} + rm -f ${PIDFILE} eend $? } |