Created
July 22, 2019 20:17
-
-
Save Psycojoker/9baf145cebee06e14b6760617e00b60a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[restart_service] | |
name = "Restart service" | |
command = "echo pouet $YNH_ACTION_SERVICE" | |
user = "root" # optional | |
cwd = "/" # optional | |
accepted_return_codes = [0, 1, 2, 3] # optional | |
description = "a dummy stupid exemple or restarting a service" | |
[restart_service.arguments] | |
[restart_service.arguments.service] | |
type = "string" | |
ask = "service to restart" | |
example = "nginx" | |
[echo_plop] | |
name = "echo plop" | |
command = "echo plop" | |
[echo_plop.arguments] | |
[echo_plop.arguments.argument_one] | |
type = "string" | |
ask = "some stuff" | |
example = "stuff" | |
[echo_plop.arguments.argument_two] | |
type = "string" | |
ask = "some stuff" | |
example = "stuff" | |
[echo_plop.arguments.argument_three] | |
type = "string" | |
ask = "some stuff" | |
example = "stuff" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment