From cdce35caf38b82141fc5f8ee1a47b6a23d9c4745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 15 Mar 2024 16:52:52 +0100 Subject: [PATCH] Fix systemd_action --service_name --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }