Browse Source

config template to jinja2

master
Dirk Alders 9 months ago
parent
commit
0c1544d3e4
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      config_example/config.j2

config_example/config.py → config_example/config.j2 View File

@@ -1,14 +1,14 @@
1 1
 # Folder to be monitored for new files
2
-TARGET_FOLDER = "<target_folder>"
2
+TARGET_FOLDER = "{{ server_ftp_scan_target_folder }}"
3 3
 
4 4
 # Recipiant for the files found in TARGET_PATH
5 5
 SEND_TO = "scan@mount-mockery.de"
6 6
 
7 7
 # Sender
8 8
 SEND_FROM = "Scanner <scan@<smtp_server>>"
9
-SMTP_SERVER = "<smtp_server>"
10
-SMTP_USER = "<smtp_user>"
11
-SMTP_PASSWORD = "<smtp_password>"
9
+SMTP_SERVER = "{{ server_ftp_scan_smtp_server }}"
10
+SMTP_USER = "{{ server_ftp_scan_smtp_user }}"
11
+SMTP_PASSWORD = "{{ server_ftp_scan_smtp_password }}"
12 12
 
13 13
 # Possible log-levels: DEBUG, INFO, WARNING, ERROR
14 14
 LOG_LEVEL = "INFO"

Loading…
Cancel
Save