mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update helpers/systemd
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
This commit is contained in:
parent
8bdaedfde7
commit
e8c6abb768
1 changed files with 0 additions and 4 deletions
|
@ -25,10 +25,6 @@ ynh_add_systemd_config() {
|
||||||
|
|
||||||
ynh_add_config --template="$template" --destination="/etc/systemd/system/$service.service"
|
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
|
systemctl daemon-reload
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue