From e60781069e356872cdc11884cb9529d54df3f1b2 Mon Sep 17 00:00:00 2001 From: Winter Date: Mon, 16 Sep 2024 22:57:49 -0700 Subject: [PATCH] changed start-server a little --- start-server | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/start-server b/start-server index 5545e40..7e95b5c 100755 --- a/start-server +++ b/start-server @@ -1,11 +1,11 @@ -#!/bin/bash +#!/usr/bin/env bash command="./main.fnl" kill_command="pkill -f 'main\.fnl'" log_file="log" -usage="Usage: start-server [-h] [--localhost] [-l] [--log-file] [-k] +usage="Usage: start-server [options] Options: -h, --help Show this help message and exit @@ -34,4 +34,4 @@ for (( i=1; i<=$#; i++ )); do done $kill_command -eval "${command} & disown" +eval "${command}"