Compare commits
2 Commits
v0.1.0b-LD
...
v0.1a-ld
Author | SHA1 | Date | |
---|---|---|---|
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
|
20
sv/goss.yaml
Normal file
20
sv/goss.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
file:
|
||||||
|
/root/latest.sql.gz:
|
||||||
|
exists: true
|
||||||
|
mode: "0644"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
filetype: file
|
||||||
|
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
|
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