1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-20 10:13:17 +00:00
Commit Graph

142 Commits

Author SHA1 Message Date
si458
d08c5ceb71 replace wmi service with net 2024-11-03 15:14:05 +00:00
Simon Smith
b42342b72a Merge branch 'master' of https://github.com/Ylianst/MeshAgent 2024-03-10 18:51:17 +00:00
Simon Smith
3f2bc445f4 add installdate to install 2024-03-10 18:51:14 +00:00
Simon Smith
52cf129ca4 fix osx agent startup
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2024-02-25 20:04:58 +00:00
Bryan Roe
aa4590ce53 1. Added Wayland helper
2. Fixed agent customization support for Docker/PseudoService
2023-01-20 13:10:05 -08:00
Bryan Roe
e0044984e5 Added 'exstate' parameter that returns the windows service manager service state as the status code 2022-09-15 23:47:11 -07:00
Bryan Roe
4d1dc7a082 Updated Windows Installer to populate DisplayVersion in registry 2022-08-24 00:54:18 -07:00
Simon Smith
6f4bf643fc add wants and after 2022-06-26 14:24:06 +01:00
Bryan Roe
3a79731fed Updated escaping rules for agent installer for linux systemd 2022-04-26 15:10:32 -07:00
Bryan Roe
5fd8d5fd3c Updated service-manager, so on systemd platforms, it does a systemctl --system daemon-reload after writing the service configuration. 2021-09-07 16:58:49 -07:00
Bryan Roe
c5e347335e Updated service-manager for systemd, to use full name of service when calling stop/start/restart/status 2021-09-07 16:44:58 -07:00
Bryan Roe
1ad21b6050 Fixed bug on some platforms, where execve() restart didn't set argv[0] correctly 2021-09-01 10:34:43 -07:00
Bryan Roe
e8c2d57af8 Updated OpenBSD service installer to set AUTO_START when flagged 2021-08-31 18:40:22 -07:00
Bryan Roe
c7d0a827e7 Fixed service uninstall cleanup, for OpenBSD 2021-08-31 18:25:52 -07:00
Bryan Roe
d4cdabef31 Updated PID handling for OpenBSD 2021-08-31 13:38:54 -07:00
Bryan Roe
294fc2f492 Updated pid handling for OpenBSD services 2021-08-31 13:08:25 -07:00
Bryan Roe
ca68a1e487 Updated OpenBSD service support 2021-08-31 13:03:15 -07:00
Bryan Roe
d1204de4c4 1. Fixed bug with clipboard.nativeAddCompressedModule for large files
2. Updated service-manager for better OpenBSD support
2021-08-31 11:11:31 -07:00
Bryan Roe
9fa19bf1be 1. Added getDomain() to user-sessions for windows
2. Fixed service.restart() error condition, to reject the promise
3. Fixed ServiceMain start/stop/restart/state for Windows
2021-04-20 15:02:54 -07:00
Bryan Roe
e5418181c3 1. Fixed bug with process.cwd() on windows when the cwd is a root level folder
2. Added process.chdir()
3. Updated child_process._execve() to use process.env if not specified
4. Updated service manager to work better with docker container
2021-02-10 20:25:46 -08:00
Bryan Roe
a4b3c7787b update service.appWorkingDirectory on macos 2021-02-10 02:53:48 -08:00
Bryan Roe
e581505ba9 Fixed bug with service.appWorkingDirectory() on freebsd 2021-02-09 20:19:57 -08:00
Bryan Roe
43c5f2d1b5 Updated service restart on Windows, when called from self. 2021-02-07 15:26:53 -08:00
Bryan Roe
face65a52e Added service.parameters() for macOS 2021-01-31 01:20:35 -08:00
Bryan Roe
d540fd64c8 Fixed service.restart() for self, for FreeBSD 2021-01-29 22:09:50 -08:00
Bryan Roe
464f756f6e Added service.parameters() for upstart and systemd 2021-01-29 19:42:49 -08:00
Bryan Roe
13a45a1116 Fixed bug/issue with systemd when trying to restart self 2021-01-29 12:18:12 -08:00
Bryan Roe
02aa37ca8f Fixed bug with systemd 'isRunning' 2021-01-29 11:59:34 -08:00
Bryan Roe
c3872d6ec8 1. Fixed execv(e)
2. Fixed service.restart() for OpenRC
2021-01-29 10:13:37 -08:00
Bryan Roe
acad58b731 Added workaround for rc-status bug 2021-01-28 17:49:36 -08:00
Bryan Roe
d664208b21 Fixed typo 2021-01-28 17:34:12 -08:00
Bryan Roe
c5e2b16e83 Added missing 'pid' setting for OpenRC 2021-01-28 17:21:51 -08:00
Bryan Roe
f67d632c4b Updated OpenRC support 2021-01-28 16:30:56 -08:00
Bryan Roe
40e91aa034 Added full support for OpenRC 2021-01-28 15:54:25 -08:00
Bryan Roe
ec2e11c875 Fixed auto_start and uninstall for opnsense 2021-01-26 11:04:15 -08:00
Bryan Roe
2c4b12fddf Fixed bug with service AUTO_START for pfsense/opnsense, where execute permission was missing from startup script 2021-01-25 22:15:57 -08:00
Bryan Roe
12230f8ce7 Updated installer to better support ChromeOS 2021-01-11 13:05:04 -08:00
Bryan Roe
949892a0eb Updated service manager for FreeBSD 2020-11-05 17:27:07 -08:00
Bryan Roe
935074ef4a Updated procd (openwrt) support 2020-11-05 14:25:26 -08:00
Bryan Roe
4eb89313c8 Updated systemd unit to correctly unescape ExecStart 2020-11-04 21:49:53 -08:00
Bryan Roe
db154bb044 Fixed support for UTF8 characters in install path, for init/upstart 2020-11-04 20:00:08 -08:00
Bryan Roe
aeef17e649 Added support for parallel installs, using alternative service names 2020-10-24 13:26:02 -07:00
Bryan Roe
67e3b3c118 Updated service-manager on windows to not require admin for service enumeration 2020-10-18 00:43:17 -07:00
Bryan Roe
18f3e8b9b3 Updated service install/uninstall for pfSense/OPNsense, to fix AUTO_START 2020-09-28 19:06:09 -07:00
Bryan Roe
f332ddb59c 1. Fixed bug in windows installer when installing when agent already installed
2. Added verbose mode for installer
2020-09-17 17:30:16 -07:00
Bryan Roe
20d4345a87 1. Updated console.log to use snprintf to size buffer
2. Fixed code that was accidentally deleted from macOS service-manager
2020-09-17 12:49:12 -07:00
Bryan Roe
61b8c71e6a Fixed init.d PID check 2020-09-10 10:49:26 -07:00
Bryan Roe
0f042fa34e Fixed service installation for init.d 2020-09-10 01:08:04 -07:00
Bryan Roe
80158d42ea 1. Updated installer to support --installPath on most all platforms
2. Updated installer, so if service already exists, and installPath isn't specified, it will try to use the existing path.
2020-09-09 22:11:33 -07:00
Bryan Roe
cb364e8ec4 Fixed init.d service issue 2020-09-09 13:50:48 -07:00