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:
parent
4e2b0f03d0
commit
f60088d747
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue