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:
parent
46715e06e1
commit
2937c28050
1 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ NotifyAccess=all
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload --quiet
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create a dedicated uwsgi ini file to use with generic uwsgi service
|
# 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 && \
|
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
|
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
|
systemctl enable "uwsgi-app@$app.service" --quiet
|
||||||
|
|
||||||
# Add as a service
|
# Add as a service
|
||||||
|
@ -167,7 +167,7 @@ ynh_remove_uwsgi_service () {
|
||||||
local finaluwsgiini="/etc/uwsgi/apps-available/$app.ini"
|
local finaluwsgiini="/etc/uwsgi/apps-available/$app.ini"
|
||||||
if [ -e "$finaluwsgiini" ]; then
|
if [ -e "$finaluwsgiini" ]; then
|
||||||
yunohost service remove "uwsgi-app@$app"
|
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
|
systemctl disable "uwsgi-app@$app.service" --quiet
|
||||||
|
|
||||||
ynh_secure_remove --file="$finaluwsgiini"
|
ynh_secure_remove --file="$finaluwsgiini"
|
||||||
|
|
Loading…
Reference in a new issue