Compare commits
5 Commits
v0.1.0b-LD
...
v0.1c-ld
Author | SHA1 | Date | |
---|---|---|---|
e2ea15f1f9 | |||
2aeccb13ec | |||
f61c0db24a | |||
3412ef82ae | |||
00c717686b |
@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -u
|
||||
|
||||
./dau louis >> /var/www/html/doku/conf/users.auth.php
|
||||
./dau johan >> /var/www/html/doku/conf/users.auth.php
|
||||
./dau elio >> /var/www/html/doku/conf/users.auth.php
|
||||
./dau hadrien >> /var/www/html/doku/conf/users.auth.php
|
||||
./dau thomas >> /var/www/html/doku/conf/users.auth.php
|
1
sv/cron.txt
Normal file
1
sv/cron.txt
Normal file
@ -0,0 +1 @@
|
||||
0 21 * * 1-7 /root/svbase
|
28
sv/goss1.yaml
Normal file
28
sv/goss1.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
file:
|
||||
/root/latest.sql.gz:
|
||||
exists: true
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: root
|
||||
filetype: file
|
||||
contains: []
|
||||
command:
|
||||
crontab -l:
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- 0 21 * * 1-7 /root/svbase
|
||||
stderr: []
|
||||
timeout: 10000
|
||||
ssh ap22 hostname:
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- ap22
|
||||
stderr: []
|
||||
timeout: 10000
|
||||
interface:
|
||||
enp0s3:
|
||||
exists: true
|
||||
addrs:
|
||||
- 192.168.0.27/24
|
||||
- fe80::a00:27ff:feef:c5c3/64
|
||||
mtu: 1500
|
2
sv/restorebase
Executable file
2
sv/restorebase
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
zcat latest.sql.gz|ssh root@ap22 "mysql -u gsbadm -pgsbadm gsbvisite"
|
Reference in New Issue
Block a user