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

Update _common.sh

This commit is contained in:
ericgaspar 2020-11-28 21:26:43 +01:00
parent 5e6cdf888f
commit 8c71a368ae
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -123,8 +123,8 @@ ynh_add_uwsgi_service () {
ynh_remove_uwsgi_service () {
local finaluwsgiini="/etc/uwsgi/apps-available/$app.ini"
if [ -e "$finaluwsgiini" ]; then
systemctl disable "uwsgi-app@$app.service"
yunohost service remove "uwsgi-app@$app"
systemctl disable "uwsgi-app@$app.service"
ynh_secure_remove --file="$finaluwsgiini"
ynh_secure_remove --file="/var/log/uwsgi/$app"