From: Radek Czajka Date: Mon, 26 Sep 2011 10:08:21 +0000 (+0200) Subject: server in fabfile X-Git-Url: https://git.mdrn.pl/koed-quiz.git/commitdiff_plain/86182ddcf3b16f6553a06d7e55015a566ca6e96a?ds=inline;hp=10dda5cd1e5bd650c06d5629dd56160ea446082a server in fabfile --- diff --git a/fabfile.py b/fabfile.py index 706dadc..0d64fe1 100644 --- a/fabfile.py +++ b/fabfile.py @@ -45,9 +45,18 @@ def openquiz(): env.access_log = 'koedquiz/openquiz.log' env.error_log = 'koedquiz/openquiz-errors.log' +def pdquiz(): + env.hosts = ['giewont.icm.edu.pl'] + env.user = 'rczajka' + env.path = '/srv/koedquiz/pdquiz' + env.server_name = 'domena.nowoczesnapolska.org.pl' + env.server_admin = 'Radek Czajka ' + env.access_log = 'koedquiz/pdquiz.log' + env.error_log = 'koedquiz/pdquiz-errors.log' + -servers = [localhost, openquiz] +servers = [localhost, openquiz, pdquiz] # ========= # = Tasks =