@adecore/service 0.54.2 → 0.54.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/dist/cmd-line.js CHANGED
@@ -12,9 +12,9 @@ export function scheduledTaskScriptName(label) {
12
12
  return `${label.replace(/[^\w.-]/g, '_')}.cmd`;
13
13
  }
14
14
  /*
15
- * What a manager finds the cmd.exe of a task from before it had a script by: `schtasks /End` ends that
16
- * process alone, so a stop has to end the tree under it first. Its title is the label, which is the name
17
- * of the task. A task on a script is found by the script's name on the cmd.exe line.
15
+ * How a manager finds the cmd.exe of a task from before it had a script. `schtasks /End` ends only that
16
+ * process, so a stop has to end the tree under it first. Its title is the label, which is the name of the
17
+ * task. A manager finds a task with a script by the script's name on the cmd.exe line.
18
18
  */
19
19
  export function scheduledTaskMarker(label) {
20
20
  return `title ${cmdEscaped(label)} && `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/service",
3
- "version": "0.54.2",
3
+ "version": "0.54.3",
4
4
  "description": "User service definitions and injectable launchd, systemd and Task Scheduler managers.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "author": "Bas Milius",
package/src/cmd-line.ts CHANGED
@@ -16,9 +16,9 @@ export function scheduledTaskScriptName(label: string): string {
16
16
  }
17
17
 
18
18
  /*
19
- * What a manager finds the cmd.exe of a task from before it had a script by: `schtasks /End` ends that
20
- * process alone, so a stop has to end the tree under it first. Its title is the label, which is the name
21
- * of the task. A task on a script is found by the script's name on the cmd.exe line.
19
+ * How a manager finds the cmd.exe of a task from before it had a script. `schtasks /End` ends only that
20
+ * process, so a stop has to end the tree under it first. Its title is the label, which is the name of the
21
+ * task. A manager finds a task with a script by the script's name on the cmd.exe line.
22
22
  */
23
23
  export function scheduledTaskMarker(label: string): string {
24
24
  return `title ${cmdEscaped(label)} && `;
package/src/manager.ts CHANGED
@@ -28,7 +28,7 @@ export interface ServiceManager {
28
28
  read(): string | null;
29
29
  /*
30
30
  * Puts the definition on disk, so the service starts with the person's session. A running daemon
31
- * keeps running, on the definition it was started from: true says that one is not this one.
31
+ * keeps the definition it started from; true means that one differs from this one.
32
32
  */
33
33
  install(definition: string): boolean;
34
34
  /* Starts the daemon from the definition on disk; nothing when it already runs. */