added update message to my toy
This commit is contained in:
@@ -135,6 +135,11 @@ EOF
|
|||||||
sudo apt install ntfy
|
sudo apt install ntfy
|
||||||
sudo systemctl enable ntfy
|
sudo systemctl enable ntfy
|
||||||
sudo systemctl start ntfy
|
sudo systemctl start ntfy
|
||||||
|
sudo tee /Scripts/rebooting <<EOF
|
||||||
|
#!/bin/bash
|
||||||
|
ntfy pub -t "started up Libre server (The TOY-server)" -m "$(date)" https://ntfy.d.metallum.eu.org/ServerState
|
||||||
|
EOF
|
||||||
|
sudo chmod a+x /Scripts/rebooting
|
||||||
tee /home/saret/.ssh/config <<EOF
|
tee /home/saret/.ssh/config <<EOF
|
||||||
Host GitHub
|
Host GitHub
|
||||||
Hostname ssh.github.com
|
Hostname ssh.github.com
|
||||||
@@ -210,6 +215,7 @@ EOF
|
|||||||
# m h dom mon dow command
|
# m h dom mon dow command
|
||||||
|
|
||||||
0 4 * * * /Scripts/update_data
|
0 4 * * * /Scripts/update_data
|
||||||
|
@reboot /Scripts/rebooting
|
||||||
EOF
|
EOF
|
||||||
sudo crontab /nan
|
sudo crontab /nan
|
||||||
cat <<EOF >> .zshrc
|
cat <<EOF >> .zshrc
|
||||||
|
Reference in New Issue
Block a user