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:
parent
e894b84102
commit
cdce35caf3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue