forked from Visorask/sarotate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml.sample
65 lines (65 loc) · 2.29 KB
/
config.yml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# General rclone variables.
rclone:
# Default rclone config. Change this if you have a non-standard rclone config location.
rclone_config: "$HOME/.config/rclone/rclone.conf"
# Match rclone rc mount user and pass. If you use --no-auth then leave as default.
rc_user: "user"
# Match rclone rc mount user and pass. If you use --no-auth then leave as default.
rc_pass: "pass"
# Default is localhost/127.0.0.1 but you can change this to match your IP for RC.
ip: 127.0.0.1
# Global variables
global:
# Minimum json file that you want to use.
minsa: 1
# Maximum json file that you want to use.
maxsa: 50
# Use 1 or 101. 101 will split API usage to separate projects, but needs many service accounts.
nextsa: 1
# Location of the directory with your service account files.
json_dir: "/your/path/here"
# Time the script will sleep for until running again.
sleeptime: 15m
# Set this if you would like to use the same service account for all remotes.
# |on|off(default)|
same_sa: off
# Log variables
log:
# Name that you want your log file to have.
logr_name: "sarotate"
# Directory that you want your log files stored in.
logr_dir: "/opt/sarotate/logs"
# At what size do you want your log to rotate. 1 is default. (MB)
logr_size: 1
# How detailed do you want your output to be from the script.
# |quiet(Supresses everything except errors and rclone output.)|verbose(default)(Everything is printed.)|
logr_detail: verbose
# rclone --log-level.
# |DEBUG|INFO|ERROR(recommended)|NOTICE(default for rclone)|
log_level: ERROR
apprise:
# Apprise notifications.
# |discord|slack|pushover|off(default)|
notif: off
# Insert discord webhook information.
# https://github.com/caronc/apprise/wiki/Notify_discord
disc_id: "{WebhookID}/{WebhookToken}"
# Insert webhook information.
# https://github.com/caronc/apprise/wiki/Notify_slack
slack_id: "{tokenA}/{tokenB}/{tokenC}"
# Insert webhook information.
# https://github.com/caronc/apprise/wiki/Notify_pushover
pushover_id: "{user_key}@{token}"
# When filling these out you need to make sure the order of remote/port goes together or else
# the script will read wrong input/output and give errors.
main:
remote:
- teamdrive1
- teamdrive2
- teamdrive3
- teamdrive4
port:
- 5572
- 5573
- 5574
- 5575