@patiom/daemon 0.0.2 → 0.0.3
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/index.js +3 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
import { consola } from "consola";
|
|
2
3
|
import { program } from "commander";
|
|
3
4
|
import { readFileSync } from "node:fs";
|
|
@@ -15,7 +16,7 @@ import { parse, stringify } from "smol-toml";
|
|
|
15
16
|
import dotenv from "dotenv";
|
|
16
17
|
import { confirm, input } from "@inquirer/prompts";
|
|
17
18
|
//#region package.json
|
|
18
|
-
var version = "0.0.
|
|
19
|
+
var version = "0.0.3";
|
|
19
20
|
//#endregion
|
|
20
21
|
//#region src/config.ts
|
|
21
22
|
const PATIOM_ROOT = "/var/lib/patiom";
|
|
@@ -406,7 +407,7 @@ After=network.target
|
|
|
406
407
|
|
|
407
408
|
[Service]
|
|
408
409
|
Type=exec
|
|
409
|
-
ExecStart
|
|
410
|
+
ExecStart=/usr/local/bin/patiom-server serve
|
|
410
411
|
Restart=always
|
|
411
412
|
Environment=PORT=${port}
|
|
412
413
|
Environment=PATH=${nodeBinPath}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|