we need status
This commit is contained in:
@@ -15,7 +15,7 @@ template-name/
|
|||||||
├── uninstall.sh # REQUIRED: Uninstallation script
|
├── uninstall.sh # REQUIRED: Uninstallation script
|
||||||
├── start.sh # OPTIONAL: Start the service
|
├── start.sh # OPTIONAL: Start the service
|
||||||
├── stop.sh # OPTIONAL: Stop the service
|
├── stop.sh # OPTIONAL: Stop the service
|
||||||
├── status.sh # OPTIONAL: Check service status
|
├── status.sh # REQUIRED: Check service status (needed for 'dropshell list' command)
|
||||||
├── logs.sh # OPTIONAL: View service logs
|
├── logs.sh # OPTIONAL: View service logs
|
||||||
├── backup.sh # OPTIONAL: Backup service data
|
├── backup.sh # OPTIONAL: Backup service data
|
||||||
├── restore.sh # OPTIONAL: Restore service data
|
├── restore.sh # OPTIONAL: Restore service data
|
||||||
@@ -237,6 +237,8 @@ docker stop "$CONTAINER_NAME" 2>/dev/null || true
|
|||||||
### status.sh
|
### status.sh
|
||||||
Reports the service status.
|
Reports the service status.
|
||||||
|
|
||||||
|
**This file is REQUIRED.** Without status.sh, the `dropshell list` command cannot display the service status, making it impossible to properly monitor and manage services.
|
||||||
|
|
||||||
**Expected Output Format:**
|
**Expected Output Format:**
|
||||||
- Must output a single line with one of these exact status values:
|
- Must output a single line with one of these exact status values:
|
||||||
- `Running` - Service is active and operational
|
- `Running` - Service is active and operational
|
||||||
|
Reference in New Issue
Block a user