mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
remove logrotate conf, userdel at the end
This commit is contained in:
parent
a07f307fa1
commit
9c4aa59a58
1 changed files with 4 additions and 2 deletions
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
domain=$(sudo yunohost app setting ghostblog domain)
|
domain=$(sudo yunohost app setting ghostblog domain)
|
||||||
|
|
||||||
sudo userdel --remove ghostblog
|
|
||||||
|
|
||||||
sudo service ynh-ghostblog stop
|
sudo service ynh-ghostblog stop
|
||||||
sudo update-rc.d ynh-ghostblog remove
|
sudo update-rc.d ynh-ghostblog remove
|
||||||
sudo rm /etc/init.d/ynh-ghostblog
|
sudo rm /etc/init.d/ynh-ghostblog
|
||||||
|
@ -11,3 +9,7 @@ sudo yunohost app service -R ynh-ghostblog
|
||||||
sudo rm -f /etc/nginx/conf.d/$domain.d/ghostblog.conf
|
sudo rm -f /etc/nginx/conf.d/$domain.d/ghostblog.conf
|
||||||
sudo rm -f /var/log/ghostblog.log
|
sudo rm -f /var/log/ghostblog.log
|
||||||
sudo rm -rf /var/run/yunohost/ghostblog
|
sudo rm -rf /var/run/yunohost/ghostblog
|
||||||
|
sudo rm -f /etc/logrotate.d/ynh-ghostblog
|
||||||
|
|
||||||
|
# remove user so that it does not hold resource
|
||||||
|
sudo userdel --remove ghostblog
|
||||||
|
|
Loading…
Add table
Reference in a new issue