diff --git a/scripts/_common.sh b/scripts/_common.sh index 54107d3..e7ee9c1 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -10,12 +10,12 @@ _ynh_add_dnsmasq_config() { ynh_add_config --template="dnsmasq.conf" --destination="/etc/dnsmasq.d/$app" - ynh_systemd_action --service=dnsmasq --action=restart --log_path=systemd + ynh_systemd_action --service_name=dnsmasq --action=restart --log_path=systemd } _ynh_remove_dnsmasq_config() { ynh_secure_remove --file="/etc/dnsmasq.d/$app" - ynh_systemd_action --service=dnsmasq --action=restart --log_path=systemd + ynh_systemd_action --service_name=dnsmasq --action=restart --log_path=systemd }