initial commit
This commit is contained in:
59
conf/_testdata/test.yml
Normal file
59
conf/_testdata/test.yml
Normal file
@@ -0,0 +1,59 @@
|
||||
# See the example TOML for detailed comments and explanations.
|
||||
Default Username: default_user
|
||||
|
||||
NoGoTunnel: true
|
||||
|
||||
Cache Database Path: /var/cache/gobroke.db
|
||||
|
||||
Cache Database Permissions:
|
||||
File:
|
||||
User: ''
|
||||
Group: ''
|
||||
Mode: 384
|
||||
Directory:
|
||||
User: ''
|
||||
Group: ''
|
||||
Mode: 448
|
||||
|
||||
Tunnels:
|
||||
- Tunnel ID: 123
|
||||
Explicit Client IP Address: 203.0.113.1
|
||||
MTU: 1450
|
||||
Username: specific_user
|
||||
Update Key: abcdef
|
||||
Configuration File Templates:
|
||||
- Template File Path: /etc/gobroke/tpl/dnsmasq/ra_dhcpv6.conf.tpl
|
||||
Destination File Path: /etc/dnsmasq.d/ra_dhcpv6.conf
|
||||
Permissions and Ownership:
|
||||
File:
|
||||
User: ''
|
||||
Group: ''
|
||||
Mode: 384
|
||||
Directory:
|
||||
User: ''
|
||||
Group: ''
|
||||
Mode: 448
|
||||
Commands:
|
||||
- Program Path: /usr/local/bin/somecmd
|
||||
Arguments:
|
||||
- '-f'
|
||||
- 'foo'
|
||||
Isolated Environment: false
|
||||
Environment Variables:
|
||||
- SOMEENV=SOMEVAL
|
||||
On Change: true
|
||||
Is Template: false
|
||||
- Template File Path: /etc/gobroke/tpl/stat.tpl
|
||||
Destination File Path: /tmp/gobroke.dump
|
||||
Commands:
|
||||
- Program Path: systemctl
|
||||
Arguments:
|
||||
- restart
|
||||
- someservice
|
||||
On Change: true
|
||||
- Tunnel ID: 456
|
||||
Username: specific_user
|
||||
Update Key: defghi
|
||||
|
||||
Commands:
|
||||
- Program Path: /usr/local/bin/alltunsprogram
|
||||
Reference in New Issue
Block a user