mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added notification settings feature
This commit is contained in:
parent
b05af960d2
commit
73626f126c
6 changed files with 52 additions and 5 deletions
|
@ -34,7 +34,7 @@ stop() {
|
|||
pid=$( cat "$PIDFILE" )
|
||||
if kill -0 $pid 2>/dev/null; then
|
||||
echo 'Stopping service…' >&2
|
||||
kill -16 $pid
|
||||
kill -15 $pid
|
||||
echo 'Service stopped' >&2
|
||||
else
|
||||
echo 'Service not running'
|
||||
|
|
|
@ -110,7 +110,7 @@ function AmtManager(agent, db, isdebug) {
|
|||
}
|
||||
|
||||
// Sent to the entire group, no sessionid or userid specified.
|
||||
if (notify != null) { agent.SendCommand({ "action": "msg", "type": "notify", "value": notify, "tag": "general" }); }
|
||||
if (notify != null) { agent.SendCommand({ "action": "msg", "type": "notify", "value": notify, "tag": "general", "amtMessage": amtMessage }); }
|
||||
}
|
||||
|
||||
// Launch LMS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue