fix: build

This commit is contained in:
zhangsz
2025-06-21 12:07:12 +08:00
parent 1313c7f767
commit f356b11dc8
2 changed files with 26 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
ProcList="restagent sshsvc" ProcList="restagent sshsvc"
ProjectL=psap ProjectL=omc
VERSION=1.2506.2 VERSION=1.2506.2
RelDate=`date +%Y%m%d` RelDate=`date +%Y%m%d`
Release=${RelDate} Release=${RelDate}

25
restagent/etc/psap.yaml Normal file
View File

@@ -0,0 +1,25 @@
ticket:
notifcation:
enabled: true
type: [smtp, sms]
smtp:
host: mail.smtp.com
port: 25
user: smtpext@smtp.com
password: "1000smtp@omc!"
tlsSkipVerify: true
from: restagent@localhost
to: support@localhost
subject: "Ticket Notification"
body: "A new ticket has been created with ID: {{.ID}} and Subject: {{.Subject}}"
sms:
enabled: false
provider: twilio
account: "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
token: "your_auth_token"
from: "+1234567890"
to: "+0987654321"
timeout:
create: 60
update: 60
close: 60