Refactor scripts

This commit is contained in:
SebastianStork 2025-04-11 23:23:45 +02:00
parent e558859799
commit da7a7b7328
4 changed files with 18 additions and 14 deletions

View file

@ -23,9 +23,11 @@
(pkgs.writeShellApplication {
name = "actual-restore";
text = ''
sudo systemctl stop actual.service
sudo restic-actual restore latest --target /
sudo systemctl start actual.service
sudo bash -c "
systemctl stop actual.service
restic-actual restore latest --target /
systemctl start actual.service
"
'';
})
];