fix: Fixes install script to also stop backup timer.
This commit is contained in:
@@ -6,6 +6,7 @@ bindir="/usr/local/bin"
|
|||||||
|
|
||||||
# Remove backup service file if it exists and install the service file.
|
# Remove backup service file if it exists and install the service file.
|
||||||
[ -f "$systemdir/backup.service" ] &&
|
[ -f "$systemdir/backup.service" ] &&
|
||||||
|
systemctl stop backup.timer &&
|
||||||
systemctl stop backup.service &&
|
systemctl stop backup.service &&
|
||||||
rm -f "$systemdir/backup.service"
|
rm -f "$systemdir/backup.service"
|
||||||
wget "$baseurl/backup.service" -O "$systemdir/backup.service"
|
wget "$baseurl/backup.service" -O "$systemdir/backup.service"
|
||||||
|
|||||||
Reference in New Issue
Block a user