pmcf 6.60.2 → 6.60.3
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/core-service.mjs +1 -2
- package/src/services/kea.mjs +2 -2
package/package.json
CHANGED
package/src/core-service.mjs
CHANGED
|
@@ -289,7 +289,6 @@ export class CoreService extends base {
|
|
|
289
289
|
const seen = new Set();
|
|
290
290
|
|
|
291
291
|
for (const [name, cred] of this.credentials) {
|
|
292
|
-
//console.log(this.fullName,name);
|
|
293
292
|
if (cred.systemdCredential && !seen.has(name)) {
|
|
294
293
|
seen.add(name);
|
|
295
294
|
lines.push(
|
|
@@ -300,7 +299,7 @@ export class CoreService extends base {
|
|
|
300
299
|
|
|
301
300
|
if (lines.length) {
|
|
302
301
|
await writeLines(
|
|
303
|
-
join(dir, `etc/systemd/system/${name}.
|
|
302
|
+
join(dir, `etc/systemd/system/${name}.d`),
|
|
304
303
|
`credentials.conf`,
|
|
305
304
|
"[Service]",
|
|
306
305
|
lines
|
package/src/services/kea.mjs
CHANGED
|
@@ -470,8 +470,8 @@ export class kea extends CoreService {
|
|
|
470
470
|
|
|
471
471
|
const packageData = await this.preparePackage(dir);
|
|
472
472
|
|
|
473
|
-
await this.writeSystemdCredentialConfig(dir, "kea-dhcp4");
|
|
474
|
-
await this.writeSystemdCredentialConfig(dir, "kea-dhcp6");
|
|
473
|
+
await this.writeSystemdCredentialConfig(dir, "kea-dhcp4.service");
|
|
474
|
+
await this.writeSystemdCredentialConfig(dir, "kea-dhcp6.service");
|
|
475
475
|
|
|
476
476
|
for (const [name, data] of Object.entries({
|
|
477
477
|
"kea-dhcp-ddns": ddns,
|