This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: avahi avahi-daemon | |
# Required-Start: $remote_fs dbus | |
# Required-Stop: $remote_fs dbus | |
# Should-Start: $syslog | |
# Should-Stop: $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Avahi mDNS/DNS-SD Daemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TEMP_DIR="/tmp/$(date '+%Y%m%d')_roborock_backup" | |
BACKUP_LOCATION="~/Stuff/Roborock" | |
BACKUP_NAME="$(date +"%Y%m%d")_roborock_backup.tar.xz" | |
BACKUP_FILE="${BACKUP_LOCATION}/${BACKUP_NAME}" | |
VACUUM_USER="root" | |
VACUUM_HOST="roborock" | |
REMOTE_DATA_DIR="/mnt/data" | |
IDENTITY_FILE="~/.ssh/id_rsa" |