@shellus/way 0.4.1 → 0.4.2
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/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -195,7 +195,7 @@ WantedBy=timers.target
|
|
|
195
195
|
execSync("systemctl --user enable way-backup.timer");
|
|
196
196
|
execSync("systemctl --user start way-backup.timer");
|
|
197
197
|
console.log("Systemd timer installed and started");
|
|
198
|
-
execSync("systemctl --user status way-backup.timer", { stdio: "inherit" });
|
|
198
|
+
execSync("systemctl --user --no-pager status way-backup.timer", { stdio: "inherit" });
|
|
199
199
|
}
|
|
200
200
|
if (options.action === "uninstall") {
|
|
201
201
|
try {
|
|
@@ -212,7 +212,7 @@ WantedBy=timers.target
|
|
|
212
212
|
console.log("Systemd timer uninstalled");
|
|
213
213
|
}
|
|
214
214
|
if (options.action === "status") {
|
|
215
|
-
execSync("systemctl --user status way-backup.timer", { stdio: "inherit" });
|
|
215
|
+
execSync("systemctl --user --no-pager status way-backup.timer", { stdio: "inherit" });
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
|