@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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shellus/way",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "将备份作为持续运营的项目,而非一次性任务。基于 restic 的策略封装。",
5
5
  "type": "module",
6
6
  "bin": {