mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Move txrestapi
This commit is contained in:
parent
e04d1e4b1e
commit
02224bcaab
8 changed files with 3 additions and 29 deletions
|
@ -1 +0,0 @@
|
||||||
[egg_info]
|
|
|
@ -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: -*-
|
|
||||||
""",
|
|
||||||
)
|
|
|
@ -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 +'/key.pem /etc/ssl/private/yunohost_key.pem',
|
||||||
'ln -s /etc/yunohost/certs/'+ new_domain +'/crt.pem /etc/ssl/certs/yunohost_crt.pem',
|
'ln -s /etc/yunohost/certs/'+ new_domain +'/crt.pem /etc/ssl/certs/yunohost_crt.pem',
|
||||||
'echo '+ new_domain +' > /etc/yunohost/current_host',
|
'echo '+ new_domain +' > /etc/yunohost/current_host',
|
||||||
'service apache2 reload',
|
'service apache2 restart',
|
||||||
'service metronome restart',
|
'service metronome restart',
|
||||||
'service postfix restart'
|
'service postfix restart',
|
||||||
|
'service dovecot restart'
|
||||||
]
|
]
|
||||||
|
|
||||||
for command in command_list:
|
for command in command_list:
|
||||||
|
|
Loading…
Add table
Reference in a new issue