diff --git a/xivplan-db.rc b/xivplan-db.rc index a07d2bd..6e3875b 100755 --- a/xivplan-db.rc +++ b/xivplan-db.rc @@ -8,12 +8,12 @@ name="xivplan-db" rcvar="xivplan-db_enable" pidfile="/var/webapps/XIVPlan-DB/xivplan-db.pid" -xivplan-db_root="/var/webapps/XIVPlan-DB" -xivplan-db_log="/var/log/xivplan-db.log" +xivplan_db_root="/var/webapps/XIVPlan-DB" +xivplan_db_log="/var/log/xivplan-db.log" -xivplan-db_chdir="${xivplan-db_root}" +xivplan_db_chdir="${xivplan-db_root}" command="/usr/sbin/daemon" -command_args="-f -R 5 -P ${pidfile} -o ${xivplan-db_log} /usr/local/bin/deno run --allow-net --allow-import --allow-env --allow-read --allow-write --allow-ffi ${xivplan-db_root}/mod.ts" +command_args="-f -R 5 -P ${pidfile} -o ${xivplan_db_log} /usr/local/bin/deno run --allow-net --allow-import --allow-env --allow-read --allow-write --allow-ffi ${xivplan_db_root}/mod.ts" load_rc_config xivplan-db run_rc_command "$1"