Yuvipanda has uploaded a new change for review. https://gerrit.wikimedia.org/r/202664
Change subject: Add initial debian package & upstart script ...................................................................... Add initial debian package & upstart script Change-Id: Ifa0ac610f714a8df73ef95c7c33a7d28e3778378 --- A debian/changelog A debian/compat A debian/control A debian/rules A debian/webservicemonitor.upstart 5 files changed, 56 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/software/tools-manifest refs/changes/64/202664/1 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..322955c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tools-manifest (0.1-1) unstable; urgency=low + + * Initial version + + -- Yuvi Panda <[email protected]> Wed, 08 Apr 2015 03:36:56 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8bb9c7e --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: tools-manifest +Maintainer: Yuvi Panda <[email protected]> +Section: python +Priority: optional +Build-Depends: python3-setuptools, python3-all, debhelper (>= 7.4.3) +Standards-Version: 3.9.1 + + + + + +Package: tools-manifest +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Infrastructure for running services on tools.wmflabs.org diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..aa9ac58 --- /dev/null +++ b/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +# This file was automatically generated by stdeb 0.8.5 at +# Wed, 08 Apr 2015 03:36:56 +0000 + +%: + dh $@ --with python3 + + +override_dh_auto_clean: + python3 setup.py clean -a + find . -name \*.pyc -exec rm {} \; + + + +override_dh_auto_build: + + + +override_dh_auto_install: + python3 setup.py install --force --root=debian/tools-manifest --no-compile -O0 --install-layout=deb --prefix=/usr + + + +override_dh_python2: + dh_python2 --no-guessing-versions + + + + diff --git a/debian/webservicemonitor.upstart b/debian/webservicemonitor.upstart new file mode 100644 index 0000000..fad1654 --- /dev/null +++ b/debian/webservicemonitor.upstart @@ -0,0 +1,5 @@ +description "Service to ensure that web services are always running once started" + +start on runlevel [2345] + +exec /usr/bin/runner WebServiceMonitor -- To view, visit https://gerrit.wikimedia.org/r/202664 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifa0ac610f714a8df73ef95c7c33a7d28e3778378 Gerrit-PatchSet: 1 Gerrit-Project: operations/software/tools-manifest Gerrit-Branch: master Gerrit-Owner: Yuvipanda <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
