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

fix and clean

This commit is contained in:
liberodark 2019-01-04 16:27:05 +01:00
parent 40c65d484d
commit 35b27d41ae
2 changed files with 6 additions and 15 deletions

View file

@ -1,12 +0,0 @@
Description=pufferd daemon service
[Service]
Type=simple
WorkingDirectory=/var/lib/pufferd
ExecStart=/srv/pufferd/pufferd --run
ExecStop=/srv/pufferd/pufferd --shutdown $MAINPID
User=pufferd
Group=pufferd
TimeoutStopSec=2m
SendSIGKILL=no
[Install]
WantedBy=multi-user.target

View file

@ -88,14 +88,17 @@ dpkg --add-architecture i386
apt-get update
ynh_package_install debian-archive-keyring apt-transport-https openssl curl mysql-client mysql-server php-fpm php-cli php-curl php-mysql openjdk-8-jdk-headless git tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386
#sudo echo "deb http://http.debian.net/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list
#dpkg --add-architecture i386
#apt-get update
#apt-get install -y -t stretch-backports openjdk-8-jdk-headless
#ynh_package_install debian-archive-keyring apt-transport-https openssl curl mysql-client mysql-server php-fpm php-cli php-curl php-mysql openjdk-8-jdk-headless git tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386
#apt-key add - https://packagecloud.io/pufferpanel/pufferd/gpgkey
#echo "deb https://packagecloud.io/pufferpanel/pufferd/debian/ stretch main" >> /etc/apt/sources.list.d/pufferpanel_pufferd.list
#echo "deb-src https://packagecloud.io/pufferpanel/pufferd/debian/ stretch main" >> /etc/apt/sources.list.d/pufferpanel_pufferd.list
#apt-get update
#echo "https://packagecloud.io/install/repositories/pufferpanel/pufferd/config_file.list?os=debian&dist=stretch&source=script" > /etc/apt/sources.list.d/pufferpanel_pufferd.list
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================