Compare commits

..

No commits in common. "3ce2807d9f8f6bb0a087dfb216bf47e980ec7a80" and "8fc701b40e6eac298211e5fb2d656bc9d5cf5381" have entirely different histories.

3 changed files with 1 additions and 3 deletions

View file

@ -8,3 +8,4 @@ server=$(jq -r .server_hostname < /etc/backup/config.json)
ssh="ssh -o ConnectTimeout=5 backup-receiver@$server"
rsync -av --rsync-path="sudo rsync" "$path/" "backup-receiver@$server:/mnt/backups/$uuid$path/"
$ssh sudo zfs snap "tank/$uuid/fs@auto-backup_$(date +"%Y-%m-%d_%H:%M:%S")"

View file

@ -82,7 +82,6 @@ defaults = {
'command': '/usr/bin/php -f /opt/nextcloud/cron.php',
'when': '*:0/5',
'user': 'www-data',
'kill_mode': 'process',
},
'nextcloud-rescan': {
'command': '/opt/nextcloud_rescan',

View file

@ -40,8 +40,6 @@ def systemd(metadata):
units[f'{name}.service']['Service']['WorkingDirectory'] = config['working_dir']
if config.get('success_exit_status'):
units[f'{name}.service']['Service']['SuccessExitStatus'] = config['success_exit_status']
if config.get('kill_mode'):
units[f'{name}.service']['Service']['KillMode'] = config['kill_mode']
services[f'{name}.timer'] = {}