@fickydev/pigent 0.1.3 → 0.1.4
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/cli/run.ts +1 -1
package/package.json
CHANGED
package/src/cli/run.ts
CHANGED
|
@@ -241,7 +241,7 @@ async function showLogs(): Promise<void> {
|
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
async function systemctl(action: string, nothrow = false, extra?: string): Promise<void> {
|
|
244
|
-
const commandArgs = extra ? [action, extra] : [action, `${serviceName}.service`];
|
|
244
|
+
const commandArgs = action === "daemon-reload" ? [action] : extra ? [action, extra] : [action, `${serviceName}.service`];
|
|
245
245
|
const proc = Bun.spawn(["systemctl", "--user", ...commandArgs], {
|
|
246
246
|
stdout: "inherit",
|
|
247
247
|
stderr: "inherit",
|