mirror of
https://github.com/YunoHost-Apps/ethercalc_ynh.git
synced 2024-09-03 18:26:36 +02:00
07a28bcac3
[enh] Set up logrotate [enh] Add echo to follow installation progress
17 lines
331 B
Bash
17 lines
331 B
Bash
#!/bin/bash
|
|
|
|
app="ethercalc"
|
|
name="ether"
|
|
name+="calc"
|
|
|
|
domain=$(sudo yunohost app setting $app domain)
|
|
|
|
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
|
sudo rm -Rf /var/log/$name/$app.log*
|
|
sudo update-rc.d $app remove
|
|
sudo service $app stop
|
|
sudo rm /etc/init.d/$app
|
|
sudo yunohost service remove $app
|
|
|
|
sudo userdel --remove $app
|
|
|