This commit is contained in:
facundo.prog 2024-04-04 12:56:14 -03:00
parent 9dfc517dab
commit 1d49825546

View File

@ -70,11 +70,11 @@ WantedBy=multi-user.target
### Copy the service to the path "/etc/systemd/system/":
Copy script:
Copy service:
sudo cp backup-files.service /etc/systemd/system/
Enable backup service:
Enable service:
sudo systemctl enable backup-files.service
@ -108,6 +108,8 @@ Concede execute permission:
sudo chmod 754 /home/backup-files.sh
### Test script commands:
Manually execute the script for testing:
@ -128,6 +130,10 @@ Start service:
sudo systemctl status backup-files.service
Or view logs
journalctl -u backup-files.service
</br>