diff --git a/deno.json b/deno.json index 879f6aa..56c31de 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@cross/service", - "version": "1.0.6", + "version": "1.0.7", "fmt": { "lineWidth": 200 }, diff --git a/lib/managers/systemd.ts b/lib/managers/systemd.ts index a650916..763b8ae 100644 --- a/lib/managers/systemd.ts +++ b/lib/managers/systemd.ts @@ -55,7 +55,7 @@ class SystemdService { // Automatically enable linger for current user using loginctl if running in user mode if (!config.system && !onlyGenerate) { if (!config.user) { - throw new Error("Username not found in $USER, must be specified using the --username flag or via the username option."); + throw new Error("Username not found in $USER, must be specified using the --username flag or via the user option."); } const enableLinger = await spawn(["loginctl", "enable-linger", config.user]); if (enableLinger.code !== 0) { diff --git a/lib/service.ts b/lib/service.ts index 78dc6ec..db1818a 100644 --- a/lib/service.ts +++ b/lib/service.ts @@ -73,7 +73,7 @@ function prepareConfig