@patiom/daemon 0.0.8 → 0.0.10

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/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import { parse, stringify } from "smol-toml";
16
16
  import dotenv from "dotenv";
17
17
  import { spawn } from "node:child_process";
18
18
  //#region package.json
19
- var version = "0.0.8";
19
+ var version = "0.0.10";
20
20
  //#endregion
21
21
  //#region src/config.ts
22
22
  const PATIOM_ROOT = "/var/lib/patiom";
@@ -401,7 +401,7 @@ StartLimitIntervalSec=0
401
401
  [Service]
402
402
  Type=exec
403
403
  WorkingDirectory=${PATIOM_ROOT}/apps/%p/current
404
- ExecStart=npm run ${startScript}
404
+ ExecStart=/usr/local/bin/npm run ${startScript}
405
405
  Restart=always
406
406
  RestartSec=5
407
407
  EnvironmentFile=${PATIOM_ROOT}/apps/%p/shared/.env
@@ -437,7 +437,7 @@ StartLimitIntervalSec=0
437
437
 
438
438
  [Service]
439
439
  Type=exec
440
- ExecStart=${nodeBinPath}/patiom-server serve
440
+ ExecStart=/usr/local/bin/patiom-server serve
441
441
  Restart=always
442
442
  RestartSec=5
443
443
  Environment=PORT=${port}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patiom/daemon",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "patiom-server": "dist/index.js"