-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
46 lines (38 loc) · 918 Bytes
/
config.py
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
#
# written by ZyzonixDev
# published by ZyzonixDevelopments
#
# Copyright (c) 2024 ZyzonixDevelopments
#
# date created | 19-02-2024 12:08:26
#
# file | config.py
# project | earlybird
# file version | 1.0.0
#
#-----------------------------
# Only config parameters here!
#-----------------------------
# software version
VERSION="1.0"
# base directory
# PATHS must end with '/'!
BASEDIR = "/opt/earlybird/"
SERVERSPATH = BASEDIR + "clients.ini"
# ip to bind server on
SERVERIP="<IPv4>"
# required APT packages for this tool
REQUIREDAPTPACKAGES=["ipmitool", "wakeonlan"]
# wakeupinterval in seconds
WAKEUPINTERVAL = 60
# retry count
RETRYCOUNT = 5
# MAILCONFIG
MAILENABLED = True
AUTH = True
MAILSERVER = "<mailserver>"
MAILSERVERPORT = 587
MAILUSER = "<mail-user>"
MAILPASSWORD = "<mail-passwd>"
EMAILRECEIVER = "<email-receiver-address>"
EMAILSENDER = "earlybird Server <" + MAILUSER + ">"