diff --git a/agents/meshcore.js b/agents/meshcore.js
index f8ab8d2f..1621ce84 100644
--- a/agents/meshcore.js
+++ b/agents/meshcore.js
@@ -709,16 +709,14 @@ function createMeshCore(agent)
} catch (e) { }
break;
}
- /*
case 'serviceRestart': {
- // Start a service
+ // Restart a service
try {
var service = require('service-manager').manager.getService(data.serviceName);
- if (service != null) { service.stop(); service.start(); }
+ if (service != null) { service.restart(); }
} catch (e) { }
break;
}
- */
case 'openUrl': {
// Open a local web browser and return success/fail
MeshServerLog('Opening: ' + data.url, data);
diff --git a/package.json b/package.json
index 2eb2560c..3a2b9fd0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "meshcentral",
- "version": "0.3.9-k",
+ "version": "0.3.9-l",
"keywords": [
"Remote Management",
"Intel AMT",
diff --git a/public/styles/style.css b/public/styles/style.css
index a6bd80a5..b2512c44 100644
--- a/public/styles/style.css
+++ b/public/styles/style.css
@@ -2529,6 +2529,10 @@ a {
border-radius: 5px;
}
+ .night .tagSpan {
+ color: black;
+ }
+
.suggestionBox {
position:absolute;
background-color: #6CC;
diff --git a/views/agentinvite.handlebars b/views/agentinvite.handlebars
index 5b723386..5fda026a 100644
--- a/views/agentinvite.handlebars
+++ b/views/agentinvite.handlebars
@@ -250,7 +250,7 @@
Q('win32url').href = url;
// MacOS Setup
- url = 'meshagents?id=16&meshid=' + meshid;
+ url = 'meshosxagent?id=16&meshid=' + meshid;
Q('macosurl').href = url;
// Linux Setup
diff --git a/views/default-min.handlebars b/views/default-min.handlebars
index e658cd75..f5e0a6a2 100644
--- a/views/default-min.handlebars
+++ b/views/default-min.handlebars
@@ -1 +1 @@
-
{{{title}}} My Devices | My Account | My Events | My Files | My Users | My Server | |
General | Desktop | Terminal | Files | Events | Intel® AMT | Console | |
Server disconnected, click to reconnect.
My Devices
| No device groups. |
My Account
Device Groups ( New ) My Events
| Show | |
My Files
These files are shared publicly, click "link" to get public url.
✓
✗
My Server
Server Statistics
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
| Show | |
General -
Events -
| Show | |
File Selection
Agent Remote Desktop
Scaling
Frame rate
Intel® AMT Hardware KVM
Image Encoding
\ No newline at end of file
+ {{{title}}} My Devices | My Account | My Events | My Files | My Users | My Server | |
General | Desktop | Terminal | Files | Events | Intel® AMT | Console | |
Server disconnected, click to reconnect.
My Devices
| No device groups. |
My Account
Device Groups ( New ) My Events
| Show | |
My Files
These files are shared publicly, click "link" to get public url.
✓
✗
My Server
Server Statistics
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
| Show | |
General -
Events -
| Show | |
File Selection
Agent Remote Desktop
Scaling
Frame rate
Intel® AMT Hardware KVM
Image Encoding
\ No newline at end of file
diff --git a/views/default.handlebars b/views/default.handlebars
index 37ba9c4b..eb34e9dd 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -5245,8 +5245,7 @@
if (service.status.isSharedProcess === true) { serviceTypes.push('SharedProcess'); }
if (serviceTypes.length > 0) { x += addHtmlValue('Type', serviceTypes.join(', ')); }
}
- x += '
';
- //
+ x += '
';
setDialogMode(2, "Service Details", 8, null, x, name);
}
}
@@ -5258,7 +5257,7 @@
if (service != null) {
if (action == 1) { meshserver.send({ action: 'msg', type: 'serviceStart', nodeid: currentNode._id, serviceName: service.name }); }
if (action == 2) { meshserver.send({ action: 'msg', type: 'serviceStop', nodeid: currentNode._id, serviceName: service.name }); }
- //if (action == 3) { meshserver.send({ action: 'msg', type: 'serviceRestart', nodeid: currentNode._id, serviceName: service.name }); }
+ if (action == 3) { meshserver.send({ action: 'msg', type: 'serviceRestart', nodeid: currentNode._id, serviceName: service.name }); }
setTimeout(function () { refreshDeskTools(1) }, 1000);
}
}
diff --git a/views/messenger-min.handlebars b/views/messenger-min.handlebars
index 524dd730..d9fc54dc 100644
--- a/views/messenger-min.handlebars
+++ b/views/messenger-min.handlebars
@@ -1 +1 @@
- MeshMessenger
\ No newline at end of file
+ MeshMessenger
\ No newline at end of file