1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Don't fail if systemd unit fail to stop

This commit is contained in:
Josué Tille 2019-02-08 18:06:28 +01:00
parent 4e2b0f03d0
commit f60088d747
No known key found for this signature in database
GPG key ID: D5E068C6DFA8681D

View file

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