diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
commit | 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch) | |
tree | cd70a267a5ef105ba32f200aa088e281fbd85747 /bsp/meta-boundary/recipes-boundary/app-startup/files/app | |
parent | 4204309872da5cb401cbb2729d9e2d4869a87f42 (diff) |
basesystem-jjsandbox/ToshikazuOhiwa/master-jj
recipes
Diffstat (limited to 'bsp/meta-boundary/recipes-boundary/app-startup/files/app')
-rwxr-xr-x | bsp/meta-boundary/recipes-boundary/app-startup/files/app | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/bsp/meta-boundary/recipes-boundary/app-startup/files/app b/bsp/meta-boundary/recipes-boundary/app-startup/files/app deleted file mode 100755 index 32f7ae4a..00000000 --- a/bsp/meta-boundary/recipes-boundary/app-startup/files/app +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: app -# Required-Start: wifi -# Required-Stop: wifi -# Default-Start: S -# Default-Stop: -# -# install with update-rc.d app start 80 5 . -# -# SPDX-License-Identifier: LGPL-3.0+ -# -### END INIT INFO - -case "$1" in - start) - echo -n "Starting application" - daemonize /app/run-app - echo "done" - ;; - stop) - echo -n "Stopping application" - /app/stop-app - echo "done" - ;; - restart) - $0 stop - $0 start - ;; - status) - pid=`pidof -x run-app` - if [ -n "$pid" ]; then - echo "run-app (pid $pid) is running ..." - exit 2 - else - echo "run-app is stopped" - fi - ;; - *) - echo "Usage: app { start | stop | restart | status }" >&2 - exit 1 - ;; -esac - -exit 0 - |