diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-12-05 23:12:12 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-12-05 23:12:12 +0100 |
commit | 069552dc479a6c420d6440c9fdefb4ddf63eac08 (patch) | |
tree | b64ae222a0f77725d132a9be5b875539fae94a7d /bin/luxcena-neo-cli.sh | |
parent | 4aab6c3c9ba6c395bcf975eea0b90119439a8fbf (diff) | |
download | Luxcena-Neo-069552dc479a6c420d6440c9fdefb4ddf63eac08.tar.gz Luxcena-Neo-069552dc479a6c420d6440c9fdefb4ddf63eac08.zip |
:hammer: Fix syntax
Diffstat (limited to 'bin/luxcena-neo-cli.sh')
-rwxr-xr-x | bin/luxcena-neo-cli.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/luxcena-neo-cli.sh b/bin/luxcena-neo-cli.sh index 0dfc6d8..60adefd 100755 --- a/bin/luxcena-neo-cli.sh +++ b/bin/luxcena-neo-cli.sh @@ -106,6 +106,7 @@ elif [ "$action" == "start" ]; then if [ "$2" == "boot" ]; then systemctl enable luxcena-neo printf "Now starting on boot...\n" + fi printf "Luxcena-neo service started...\n" elif [ "$action" == "stop" ]; then @@ -113,6 +114,7 @@ elif [ "$action" == "stop" ]; then if [ "$2" == "boot" ]; then systemctl disable luxcena-neo printf "Not longer active on boot...\n" + fi printf "Luxcena-neo service stopped...\n" elif [ "$action" == "status" ]; then @@ -133,14 +135,16 @@ elif [ "$action" == "log" ]; then if [ "$2" == "sevice" ]; then printf '\e[93m%s\e[0m\n' "━━━Service log (press ctrl+c to exit)━━━━━━━━━━━━━━━━━━" tail -F -n 20 /home/lux-neo/logs/service.log + fi if [ "$2" == "app" ]; then printf '\e[93m%s\e[0m\n' "━━━App log (press ctrl+c to exit)━━━━━━━━━━━━━━━━━━" tail -F -n 20 /home/lux-neo/logs/logger.log + fi elif [ "$action" == "version" ] || [ "$action" == "v" ]; then printf "Version: Unknown\n" -elif [ "$action" == "selectBranch" ] +elif [ "$action" == "selectBranch" ]; then printf "Current Branch \n" else usage |