mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Added notification settings feature
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user