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

[fix] Default shellinabox configuration pate fail

This commit is contained in:
kload 2015-05-08 12:10:37 +02:00
parent 2d6caa9a4e
commit 113dcaaeb2
3 changed files with 6 additions and 7 deletions

View file

@ -1,4 +1,4 @@
hould shellinaboxd start automatically
# Should shellinaboxd start automatically
SHELLINABOX_DAEMON_START=1
# TCP port that shellinboxd's webserver listens on

View file

@ -30,5 +30,3 @@ sudo service shellinabox restart
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/shellinabox.conf
sudo service nginx reload
sudo yunohost app ssowatconf

View file

@ -8,11 +8,12 @@ path=$(sudo yunohost app setting shellinabox path)
# Stop and remove shellinabox
sudo service shellinabox stop || echo "ShellInABox already stopped"
sudo apt-get remove --purge shellinabox || echo "ShellInABox already uninstalled"
sudo apt-get remove --purge -y -qq shellinabox || echo "ShellInABox already uninstalled"
# Remove Shell In A Box configuration
sudo rm -f /etc/default/shellinabox
# Remove Nginx proxy configuration
sudo rm -f sudo rm /etc/nginx/conf.d/$domain.d/shellinabox.conf
sudo rm -f /etc/nginx/conf.d/$domain.d/shellinabox.conf
sudo service nginx reload
sudo yunohost app ssowatconf