Fix uwsgi helper
This commit is contained in:
parent
d919dcc49a
commit
14e1be1819
@ -54,7 +54,7 @@ ynh_add_uwsgi_service () {
|
|||||||
fi
|
fi
|
||||||
ynh_store_file_checksum "$finaluwsgiini"
|
ynh_store_file_checksum "$finaluwsgiini"
|
||||||
|
|
||||||
chown root: "$finaluwsgiini"
|
chown $app "$finaluwsgiini"
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable "uwsgi-app@$app.service"
|
systemctl enable "uwsgi-app@$app.service"
|
||||||
@ -76,4 +76,4 @@ ynh_remove_uwsgi_service () {
|
|||||||
ynh_secure_remove "$finaluwsgiini"
|
ynh_secure_remove "$finaluwsgiini"
|
||||||
ynh_secure_remove "/var/log/uwsgi/app/$app"
|
ynh_secure_remove "/var/log/uwsgi/app/$app"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user