98 lines
2.5 KiB
YAML
98 lines
2.5 KiB
YAML
name: autostart-manage
|
|
help: Manage autostart
|
|
version: 0.1.2
|
|
|
|
dependencies:
|
|
tomlq: please install yq (https://github.com/kislyuk/yq)
|
|
|
|
environment_variables:
|
|
- name: HOSTNAME
|
|
help: The hostname to use. We will try to get the value automatically.
|
|
|
|
commands:
|
|
- name: completions
|
|
help: Generate bash completions
|
|
|
|
- name: list
|
|
help: List available programs
|
|
- name: info
|
|
help: Get the current status of all programs
|
|
- name: sync
|
|
help: Remove all programs from autostart and the re-enable all
|
|
- name: enable
|
|
help: Add a single program to autostart
|
|
args:
|
|
- name: program
|
|
required: true
|
|
help: Program to add to autostart
|
|
completions:
|
|
- $(autostart-manage list)
|
|
filename: systemctl.sh
|
|
- name: disable
|
|
help: Remove a single program from autostart
|
|
args:
|
|
- name: program
|
|
required: true
|
|
help: Program to add to autostart
|
|
completions:
|
|
- $(autostart-manage list)
|
|
filename: systemctl.sh
|
|
- name: restart
|
|
help: Restart programs from autostart
|
|
args:
|
|
- name: program
|
|
help: Program to add to autostart
|
|
default: "*"
|
|
completions:
|
|
- $(autostart-manage list)
|
|
filename: systemctl.sh
|
|
- name: start
|
|
help: Start programs from autostart
|
|
args:
|
|
- name: program
|
|
help: Program to start to autostart
|
|
default: "*"
|
|
completions:
|
|
- $(autostart-manage list)
|
|
filename: systemctl.sh
|
|
- name: status
|
|
help: Check status of programs from autostart
|
|
args:
|
|
- name: program
|
|
help: Program to check status on
|
|
default: "*"
|
|
completions:
|
|
- $(autostart-manage list)
|
|
filename: systemctl.sh
|
|
- name: stop
|
|
help: Stop programs from autostart
|
|
args:
|
|
- name: program
|
|
help: Program to stop
|
|
default: "*"
|
|
completions:
|
|
- $(autostart-manage list)
|
|
filename: systemctl.sh
|
|
- name: log
|
|
alias: logs
|
|
help: Show the log for a single program from autostart
|
|
args:
|
|
- name: program
|
|
required: true
|
|
help: Program to log
|
|
completions:
|
|
- $(autostart-manage list)
|
|
- name: exec
|
|
help: Execute a single program from autostart
|
|
args:
|
|
- name: program
|
|
required: true
|
|
help: Program to execute
|
|
completions:
|
|
- $(autostart-manage list)
|
|
- name: run
|
|
help: Run all programs
|
|
- name: run-wayland
|
|
help: Run all the wayland specific tasks and all programs
|
|
- name: run-xorg
|
|
help: Run all the xorg specific tasks and all programs
|