Add host scripts
This commit is contained in:
16
host/config.yaml
Normal file
16
host/config.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
debug: false
|
||||
port: 8123
|
||||
listeners:
|
||||
/startbackup:
|
||||
command: bash
|
||||
args:
|
||||
- -c
|
||||
- "cd /root/qvalet; ./start_backup.sh"
|
||||
return: output
|
||||
|
||||
/stopbackup:
|
||||
command: bash
|
||||
args:
|
||||
- -c
|
||||
- "cd /root/qvalet; ./stop_backup.sh"
|
||||
return: output
|
||||
Reference in New Issue
Block a user