service update

This commit is contained in:
Ean Milligan (Bastion) 2022-07-07 20:50:16 -04:00
parent b1c81aff78
commit 9b93f6c802
1 changed files with 3 additions and 1 deletions

View File

@ -6,8 +6,10 @@
name="artificer"
rcvar="artificer_enable"
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"
command="/usr/sbin/daemon"
command_args="-c -f -P ${pidfile} -r /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"
load_rc_config artificer
run_rc_command "$1"