1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/incus_ynh.git synced 2024-09-03 19:26:15 +02:00

Fix systemd_action --service_name

This commit is contained in:
Salamandar 2024-03-15 16:52:52 +01:00
parent e894b84102
commit cdce35caf3

View file

@ -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
}