Add initial support for webhook notifications
This commit is contained in:
@ -25,6 +25,7 @@ import signal
|
||||
|
||||
from sys import argv
|
||||
|
||||
import pvcbootstrapd.lib.notifications as notifications
|
||||
import pvcbootstrapd.lib.dnsmasq as dnsmasqd
|
||||
import pvcbootstrapd.lib.db as db
|
||||
import pvcbootstrapd.lib.git as git
|
||||
@ -237,6 +238,8 @@ def entrypoint():
|
||||
print("|----------------------------------------------------------|")
|
||||
print("")
|
||||
|
||||
notifications.send_webhook(config, "begin", "Starting up pvcbootstrapd")
|
||||
|
||||
# Initialize the database
|
||||
db.init_database(config)
|
||||
|
||||
|
Reference in New Issue
Block a user