add hourly refresh with systemd timer
This commit is contained in:
parent
951eb71b83
commit
5f4d1f24d4
5 changed files with 48 additions and 9 deletions
|
|
@ -8,4 +8,11 @@ echo " - Cleanup..."
|
|||
mv typst-aarch64-unknown-linux-musl/typst ./typst
|
||||
rm -rf typst-aarch64-unknown-linux-musl/
|
||||
rm typst-aarch64-unknown-linux-musl.tar.xz
|
||||
echo "Install systemd timer"
|
||||
sudo cp moninktor-update.service /etc/systemd/system/
|
||||
sudo cp moninktor-update.timer /etc/systemd/system/
|
||||
chmod +x /home/grizzly/moninktor/update.sh
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable moninktor-update.timer
|
||||
sudo systemctl start moninktor-update.timer
|
||||
echo " - Done."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue