mirror of
https://github.com/YunoHost-Apps/mosquitto_ynh.git
synced 2024-09-03 19:45:54 +02:00
Fix config file overwritten (passwd)
This commit is contained in:
parent
6e0b336fbf
commit
3ff1f680e3
2 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
|
|||
|
||||
ynh_add_config --template="../conf/passwd" --destination="/etc/mosquitto/passwd"
|
||||
mosquitto_passwd -U "/etc/mosquitto/passwd"
|
||||
ynh_store_file_checksum --file="/etc/mosquitto/passwd"
|
||||
|
||||
ynh_add_config --template="../conf/mosquitto.conf" --destination="/etc/mosquitto/conf.d/default.conf"
|
||||
|
||||
|
|
|
@ -71,6 +71,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1
|
|||
|
||||
ynh_add_config --template="../conf/passwd" --destination="/etc/mosquitto/passwd"
|
||||
mosquitto_passwd -U "/etc/mosquitto/passwd"
|
||||
ynh_store_file_checksum --file="/etc/mosquitto/passwd"
|
||||
|
||||
ynh_add_config --template="../conf/mosquitto.conf" --destination="/etc/mosquitto/conf.d/default.conf"
|
||||
|
||||
|
|
Loading…
Reference in a new issue