@@ -41,6 +41,15 @@ Actions (or service-provided functions):
|
|||||||
no-op. Override it in a service to wait on something real (e.g. a port
|
no-op. Override it in a service to wait on something real (e.g. a port
|
||||||
listening or a marker file).
|
listening or a marker file).
|
||||||
|
|
||||||
|
Arguments after the action are passed into the service script when it's sourced and
|
||||||
|
thus can be used as positional arguments on the inside:
|
||||||
|
|
||||||
|
```
|
||||||
|
#!/usr/bin/env ssm
|
||||||
|
|
||||||
|
service_command = /path/to/executable --flag "$1" --flag1 "$2"
|
||||||
|
```
|
||||||
|
|
||||||
Global flags:
|
Global flags:
|
||||||
|
|
||||||
* `-L`, `--list-services` — list known services and their status.
|
* `-L`, `--list-services` — list known services and their status.
|
||||||
|
|||||||
Reference in New Issue
Block a user