1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Fix systemd and add dependencies

This commit is contained in:
Maniack Crudelis 2018-08-27 01:00:52 +02:00
parent 561e936710
commit 514668307a
2 changed files with 2 additions and 3 deletions

View file

@ -6,9 +6,8 @@ After=network.target
Type=simple
User=__APP__
Group=__APP__
Environment="PYTHONHOME=__FINALPATH__/ve3/bin/" "PYTHONPATH=__FINALPATH__/.pythonz/pythons/CPython-3.6.6/lib/python3.6"
WorkingDirectory=__FINALPATH__
ExecStart=__FINALPATH__/ve3/bin/python ./run.py /home/CI_package_check/analyseCI.sh >> /var/log/__APP__/__APP__.log 2&>1
ExecStart=__FINALPATH__/ve3/bin/python ./run.py /home/CI_package_check/analyseCI.sh | tee -a /var/log/__APP__/__APP__.log 2&>1
[Install]
WantedBy=multi-user.target

View file

@ -64,7 +64,7 @@ ynh_exec_fully_quiet yunohost firewall allow --no-upnp TCP 4242
# INSTALL DEPENDENCIES
#=================================================
ynh_install_app_dependencies python-virtualenv sqlite3 zlib1g-dev
ynh_install_app_dependencies python-virtualenv sqlite3 libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE