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

more --quiet

This commit is contained in:
yalh76 2022-07-28 13:35:56 +02:00
parent 46715e06e1
commit 2937c28050

View file

@ -79,7 +79,7 @@ NotifyAccess=all
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl daemon-reload --quiet
}
# Create a dedicated uwsgi ini file to use with generic uwsgi service
@ -153,7 +153,7 @@ ynh_add_uwsgi_service () {
mkdir /etc/systemd/system/uwsgi-app@$app.service.d && \
cp ../conf/uwsgi-app@override.service /etc/systemd/system/uwsgi-app@$app.service.d/override.conf
systemctl daemon-reload
systemctl daemon-reload --quiet
systemctl enable "uwsgi-app@$app.service" --quiet
# Add as a service
@ -167,7 +167,7 @@ ynh_remove_uwsgi_service () {
local finaluwsgiini="/etc/uwsgi/apps-available/$app.ini"
if [ -e "$finaluwsgiini" ]; then
yunohost service remove "uwsgi-app@$app"
systemctl stop "uwsgi-app@$app.service"
systemctl stop "uwsgi-app@$app.service" --quiet
systemctl disable "uwsgi-app@$app.service" --quiet
ynh_secure_remove --file="$finaluwsgiini"