|
|
@@ -23,7 +23,8 @@ chown -R "$app:$app" "$install_dir" "$data_dir"
|
|
|
chmod 600 "$install_dir/config.py"
|
|
|
|
|
|
ynh_script_progression "Mise à jour des règles sudo..."
|
|
|
-ynh_config_add_sudoers
|
|
|
+ynh_config_add --template="sudoers" --destination="/etc/sudoers.d/$app"
|
|
|
+chmod 440 "/etc/sudoers.d/$app"
|
|
|
|
|
|
ynh_script_progression "Mise à jour systemd et nginx..."
|
|
|
ynh_config_add_systemd
|