pmcf 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/services/dns.mjs +3 -3
package/package.json
CHANGED
package/src/services/dns.mjs
CHANGED
|
@@ -262,8 +262,8 @@ async function generateZoneDefs(dns, location, packageData) {
|
|
|
262
262
|
|
|
263
263
|
addHook(
|
|
264
264
|
packageData.properties.hooks,
|
|
265
|
-
"
|
|
266
|
-
`rm /var/lib/named/${zone.file}.jnl`
|
|
265
|
+
"post_upgrade",
|
|
266
|
+
`rm -f /var/lib/named/${zone.file}.jnl`
|
|
267
267
|
);
|
|
268
268
|
|
|
269
269
|
const config = {
|
|
@@ -286,7 +286,7 @@ async function generateZoneDefs(dns, location, packageData) {
|
|
|
286
286
|
if (configs.length > 0) {
|
|
287
287
|
addHook(
|
|
288
288
|
packageData.properties.hooks,
|
|
289
|
-
"
|
|
289
|
+
"post_upgrade",
|
|
290
290
|
"systemctl restart named"
|
|
291
291
|
);
|
|
292
292
|
}
|