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}"