Update helpers/systemd

Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
This commit is contained in:
OniriCorpe 2024-05-23 23:53:47 +02:00 committed by GitHub
parent 8bdaedfde7
commit e8c6abb768
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,10 +25,6 @@ ynh_add_systemd_config() {
ynh_add_config --template="$template" --destination="/etc/systemd/system/$service.service"
# do not enable a service disabled by the user
if ! yunohost service status $service | grep -q "start_on_boot: disabled"; then
systemctl enable $service --quiet
fi
systemctl daemon-reload
}