service update
This commit is contained in:
parent
28e697efa2
commit
2346a6d994
|
@ -13,7 +13,7 @@ pidfile="/var/dbots/TheArtificer/artificer.pid"
|
||||||
artificer_start()
|
artificer_start()
|
||||||
{
|
{
|
||||||
cd /var/dbots/TheArtificer/
|
cd /var/dbots/TheArtificer/
|
||||||
deno run --allow-write=./logs/,./src/endpoints/gets/heatmap.png --allow-read=./src/solver/,./src/endpoints/gets/heatmap-base.png --allow-net mod.ts
|
/usr/local/bin/deno run --allow-write=./logs/,./src/endpoints/gets/heatmap.png --allow-read=./src/solver/,./src/endpoints/gets/heatmap-base.png --allow-net mod.ts
|
||||||
}
|
}
|
||||||
|
|
||||||
load_rc_config artificer
|
load_rc_config artificer
|
||||||
|
|
|
@ -6,7 +6,7 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
PIDFile=/run/deno.pid
|
PIDFile=/run/deno.pid
|
||||||
ExecStart=deno run --allow-write=./logs/,./src/endpoints/gets/heatmap.png --allow-read=./src/solver/,./src/endpoints/gets/heatmap-base.png --allow-net .\mod.ts
|
ExecStart=/root/.deno/bin/deno run --allow-write=./logs/,./src/endpoints/gets/heatmap.png --allow-read=./src/solver/,./src/endpoints/gets/heatmap-base.png --allow-net .\mod.ts
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue