From 514668307ab04cf8c5663ad3a1ceec06e21ad8f9 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Mon, 27 Aug 2018 01:00:52 +0200 Subject: [PATCH] Fix systemd and add dependencies --- conf/systemd.service | 3 +-- scripts/install | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 21eff83..18b7784 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -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 diff --git a/scripts/install b/scripts/install index b9f09c2..f53526e 100644 --- a/scripts/install +++ b/scripts/install @@ -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