fix: build
This commit is contained in:
2
mkpkg.sh
2
mkpkg.sh
@@ -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
25
restagent/etc/psap.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user