2025-04-25 20:46:10 +12:00
..
2025-04-25 13:15:28 +12:00
2025-04-25 13:15:28 +12:00
2025-04-25 20:46:10 +12:00
2025-04-25 12:53:03 +12:00
2025-04-25 12:53:03 +12:00
2025-04-25 12:53:03 +12:00
2025-04-25 12:53:03 +12:00
2025-04-25 17:58:31 +12:00
2025-04-25 12:53:03 +12:00
2025-04-25 12:53:03 +12:00
2025-04-25 12:53:03 +12:00
2025-04-25 12:53:03 +12:00

DropShell Template Example

Shell scripts defined in this folder are run as DropShell commands on the remote server (not locally!).
All scripts are passed the directory containing the server-specific service environment (SSSE) as an argument
(the environment file, along with any other server and service-specific files, is then in $1/service.env)

The default SSSE file included when a new service is created is in example/service.env. This must exist,
and must at minimum contain the TEMPLATE=<template_name> variable.

The optional backups script gets a second argument, which is the backup file to create (a single tgz file).

Mandatory scripts are:
- install.sh
- uninstall.sh
- start.sh
- stop.sh

Optional standard scripts are:
- backup.sh
- status.sh
- ports.sh
- logs.sh