mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix usage of $service_name
This commit is contained in:
parent
508439b112
commit
8e8ed22395
1 changed files with 2 additions and 2 deletions
|
@ -158,8 +158,8 @@ ynh_remove_systemd_config () {
|
|||
|
||||
local finalsystemdconf="/etc/systemd/system/$service.service"
|
||||
if [ -e "$finalsystemdconf" ]; then
|
||||
ynh_systemd_action --service_name=$service_name --action=stop
|
||||
systemctl disable $service_name
|
||||
ynh_systemd_action --service_name=$service --action=stop
|
||||
systemctl disable $service
|
||||
ynh_secure_remove --file="$finalsystemdconf"
|
||||
systemctl daemon-reload
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue