diff options
-rw-r--r-- | www-apps/phabricator/ChangeLog | 3 | ||||
-rw-r--r-- | www-apps/phabricator/Manifest | 4 | ||||
-rwxr-xr-x | www-apps/phabricator/files/webapp-hook | 21 |
3 files changed, 13 insertions, 15 deletions
diff --git a/www-apps/phabricator/ChangeLog b/www-apps/phabricator/ChangeLog index ab2a95da..6594189a 100644 --- a/www-apps/phabricator/ChangeLog +++ b/www-apps/phabricator/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Oct 2015; Bertrand Jacquin <bertrand@jacquin.bzh> files/webapp-hook: + www-apps/phabricator: Do not stop web server while updating storage + *phabricator-20151005 (08 Oct 2015) 08 Oct 2015; Bertrand Jacquin <bertrand@jacquin.bzh> diff --git a/www-apps/phabricator/Manifest b/www-apps/phabricator/Manifest index 2cc199f1..e6400544 100644 --- a/www-apps/phabricator/Manifest +++ b/www-apps/phabricator/Manifest @@ -9,11 +9,11 @@ AUX htaccess 475 SHA256 90b7245b7518f5b3e56bae9d574a530e3cd47808ef937bdc78ea4288 AUX phabricator.logrotate 56 SHA256 e63141278776888c1a3f8e841b0d263efe2beb6c9dbefa3d700fbd8912f4fe58 WHIRLPOOL 8fa63b4218f8757221cd4780e16c70d16e9849e6a89b9eecd327688bff9195bb1c0604c8e80e496cd659ef0a6fc9cfa79774a825d79be58c03e4f1a592ad07b9 AUX phd.confd 215 SHA256 80ddbf586f38cc600d06e524f7e85c3258bd563696fa2e41e1ea19268da8079b WHIRLPOOL 0f1a587c755994c410b62da6b897ca8684d584b9f01956359e078429fc7ec7642561dc3e3c306bbb24753e3a68ef5f088a5709706143b6154aa085ac2dfa52ad AUX phd.initd 2434 SHA256 1c9e506e805ce4a04e3a5467c590eef5c84b909fa0bee530d9d9b71b538db039 WHIRLPOOL d4f5a2db62416c3a952c76af0cd8aace7de8984c425bf441522835a156387846a3ca265fe512b5fdd785500b5a6b3b9c982bea5b183d9f772c485f9edbe32742 -AUX webapp-hook 3806 SHA256 59b4bf2543fa35da457476c60ba8c52db0a81de28077ba47e1bef1cf3b12115e WHIRLPOOL cffc4f46504f29cc994447526d5eeb6fd993f999317b7640e931915434894ade2cd70c7a71681e5bed7124410fe8d9fa04eb7a8eb517c29e4aafdc2d5a296ca9 +AUX webapp-hook 3556 SHA256 939c375c72ce53968c8da35ac7b045a37f1d7c790d15ab5ae25393752cd2ba4b WHIRLPOOL bf0f04786aeee8ead5df8d2ce31418581a3e8046dee1f1c18e4a3485a768dbb25d2bb7902559dc6b1b2340c0f2571c38114a448936d741a520a7c09e19801fe0 EBUILD phabricator-20150414.ebuild 4681 SHA256 622e6533f7edecba06190089218c6245f72b4d38e32523f25dc8dc65e6d1318d WHIRLPOOL b0922f709091ff88c31601b40fa833675c009cf3b7f0d0400d28da1f7628ed153ac031c9ddc6eb312c529e3e6ff3d97915fe4f4111caa9bd1badd2d5bb70396f EBUILD phabricator-20150727.ebuild 4681 SHA256 d1b7cc3d883f147e141842f09a7ef55846f0fab2a9749c9585a79be47ecfaa4e WHIRLPOOL 26605826bc523b8d593ccba998e9cc2674e2f50e6d9154dc16efe84c849615b29c56ae97453e89b1aef5c1dc9e9edc8d9be80fd2ba443a25817b615fd6151ec5 EBUILD phabricator-20150815.ebuild 4681 SHA256 9c1da4fe9a55c5d01e4a8d0aaf8a3aebf65ebeab6297696505229ce9d8172708 WHIRLPOOL a7cc4cb87475e19ad91534e1b79cec997a240056e491b84a9a98e1ceca1afc2d87e4febbaf8be11291f4d6f46c7c8d7b0a21f7afa46cee94697162a6602c20ed EBUILD phabricator-20151005.ebuild 4700 SHA256 a3b882ba8b137a43b0f6b7f270cedea5e835d659460b905bbaf9bf0a08f614d1 WHIRLPOOL 4064a6cb8d553a7731dcfcab4adfc3f19f70e1765fe3f5ef2a5158f4f2fba58bca5679406231d1aee6f4ceda2eb68e97cb2355e8c31e792706315c9c5e0abbcf EBUILD phabricator-9999.ebuild 4579 SHA256 b79fbc9bc79ea393e59d52ed24ce92fe518de31b573c31dd87fdbaed44950de8 WHIRLPOOL 8e23dd67e2b6f5c10863cc352fbd7962bb0e2933f5c27335995e2e43223d1217ee6d52a40f192e28c751ebf82b0d39217201cea9d3c414c4d6af9cdfbfba811d -MISC ChangeLog 9504 SHA256 6daeec1f078c21e150d5ca6c7035549a2f1a39414619620c9db790d80bdc86e8 WHIRLPOOL 920e0dbb9f919cb54022b1ea04a248b6c5fb50cb014077f220a2d0116902bdb309f1eb4bb3e49aa525a69011cb3d98503a0fd38d7bc56a84e3aa3bdd24bfbef8 +MISC ChangeLog 9649 SHA256 e728fab0f5ade8099828f42f6401d1566e74036d1ab98b5e707fbb88d606625c WHIRLPOOL 895ca399797d64ce6490ec80bf75b592b390a00913dc705d4674cd746cbdef257da058b25563ffaa1d7b759dcbc592597390d839c79abd296913d4d7bbed1ec3 MISC metadata.xml 655 SHA256 0a90f5e0e963495bd177d96a2c5b04a940a2bab969b6921e02655eb9d959493c WHIRLPOOL e817700577f9691c696b0d4b18df79be591a4fc2318af0ebd0add1fbe323de169b8ff03384883734ac7c2d6c93414e1b6edcadf69ea25a35225945b8bdf118c1 diff --git a/www-apps/phabricator/files/webapp-hook b/www-apps/phabricator/files/webapp-hook index 729af231..b8751e07 100755 --- a/www-apps/phabricator/files/webapp-hook +++ b/www-apps/phabricator/files/webapp-hook @@ -92,19 +92,13 @@ function storage-upgrade () { return 1 fi - case "${VHOST_SERVER}" in - apache) VHOST_SERVER="apache2" ;; - esac - # Save service status - rc_status aphlictd && _has_aphlictd=yes - rc_status phd && _has_phd=yes - rc_status "${VHOST_SERVER}" && _has_server=yes + rc_status aphlictd && _has_aphlictd=yes + rc_status phd && _has_phd=yes # Only stop started services - [[ "${_has_aphlictd:-no}" == "yes" ]] && /etc/init.d/aphlictd stop - [[ "${_has_phd:-no}" == "yes" ]] && /etc/init.d/phd stop - [[ "${_has_server:-no}" == "yes" ]] && /etc/init.d/"${VHOST_SERVER}" stop + [[ "${_has_aphlictd:-no}" == "yes" ]] && /etc/init.d/aphlictd stop + [[ "${_has_phd:-no}" == "yes" ]] && /etc/init.d/phd stop einfo "Backing up database to ${VHOST_ROOT}/backup/dump-${_date}.sql.xz" [[ ! -d "${VHOST_ROOT}/backup" ]] \ @@ -122,9 +116,10 @@ function storage-upgrade () { eend $? # Only start services that was previously started - [[ "${_has_server:-no}" == "yes" ]] && /etc/init.d/"${VHOST_SERVER}" start - [[ "${_has_phd:-no}" == "yes" ]] && /etc/init.d/phd start - [[ "${_has_aphlictd:-no}" == "yes" ]] && /etc/init.d/aphlictd start + [[ "${_has_phd:-no}" == "yes" ]] && /etc/init.d/phd start + [[ "${_has_aphlictd:-no}" == "yes" ]] && /etc/init.d/aphlictd start + + einfo "You may have to restart daemon hosting phabricator to update cache" return 0 } |