Don't fail if systemd unit fail to stop

master
Josué Tille 6 years ago
parent 4e2b0f03d0
commit f60088d747
No known key found for this signature in database
GPG Key ID: D5E068C6DFA8681D

@ -100,7 +100,7 @@ ynh_add_uwsgi_service () {
cp ../conf/uwsgi-app@override.service /etc/systemd/system/uwsgi-app@$app.service.d/override.conf cp ../conf/uwsgi-app@override.service /etc/systemd/system/uwsgi-app@$app.service.d/override.conf
systemctl daemon-reload systemctl daemon-reload
systemctl stop "uwsgi-app@$app.service" systemctl stop "uwsgi-app@$app.service" || true
systemctl enable "uwsgi-app@$app.service" systemctl enable "uwsgi-app@$app.service"
systemctl start "uwsgi-app@$app.service" systemctl start "uwsgi-app@$app.service"

Loading…
Cancel
Save