Move txrestapi

This commit is contained in:
Kload 2013-07-06 19:36:19 +02:00
parent e04d1e4b1e
commit 02224bcaab
8 changed files with 3 additions and 29 deletions

View file

@ -1 +0,0 @@
[egg_info]

View file

@ -1,26 +0,0 @@
from setuptools import setup, find_packages
import sys, os
version = '0.1'
setup(name='txrestapi',
version=version,
description="Easing the creation of REST API services in Python",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='',
author='Ian McCracken',
author_email='ian.mccracken@gmail.com',
url='http://github.com/iancmcc/txrestapi',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)

View file

@ -195,9 +195,10 @@ def tools_maindomain(old_domain, new_domain):
'ln -s /etc/yunohost/certs/'+ new_domain +'/key.pem /etc/ssl/private/yunohost_key.pem',
'ln -s /etc/yunohost/certs/'+ new_domain +'/crt.pem /etc/ssl/certs/yunohost_crt.pem',
'echo '+ new_domain +' > /etc/yunohost/current_host',
'service apache2 reload',
'service apache2 restart',
'service metronome restart',
'service postfix restart'
'service postfix restart',
'service dovecot restart'
]
for command in command_list: