From 8ab33eb250bcc8c30e38a51c5d3ed0f8579586f5 Mon Sep 17 00:00:00 2001
From: Quentin Duchemin <quentinduchemin@tuta.io>
Date: Thu, 30 Jan 2020 18:01:27 +0100
Subject: [PATCH] [DBBackupRotation] Change shebang and update config filename

---
 pica-db-backup-rotation/start_rotation.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pica-db-backup-rotation/start_rotation.py b/pica-db-backup-rotation/start_rotation.py
index edd16f02..754644af 100755
--- a/pica-db-backup-rotation/start_rotation.py
+++ b/pica-db-backup-rotation/start_rotation.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 import os
 import sys
 import json
@@ -7,7 +7,7 @@ from crontab import CronTab
 # Setting constants
 BACKUP_FOLDER = '/backup'
 CONFIG_FOLDER = '/config'
-CONFIG_FILE = 'backup_data.json'
+CONFIG_FILE = 'backup_config.json'
 PATH_TO_CONFIG = CONFIG_FOLDER + '/' + CONFIG_FILE
 
 # Checks if the config file and folders can be accessed
-- 
GitLab