mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-01-06 12:27:53 -05:00
service update
This commit is contained in:
@ -6,15 +6,8 @@
|
|||||||
|
|
||||||
name="artificer"
|
name="artificer"
|
||||||
rcvar="artificer_enable"
|
rcvar="artificer_enable"
|
||||||
start_cmd="artificer_start"
|
|
||||||
|
|
||||||
pidfile="/var/dbots/TheArtificer/artificer.pid"
|
command="/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 /var/dbots/TheArtificer/mod.ts"
|
||||||
|
|
||||||
artificer_start()
|
|
||||||
{
|
|
||||||
cd /var/dbots/TheArtificer/
|
|
||||||
/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
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user