Bryan Roe
1adcae7957
Added 'isLoaded' and 'load' helper on MacOS
2019-04-19 15:12:06 -07:00
Bryan Roe
c64a726f2d
Updated service-manager for MacOS to better tolerate KeepAlive settings
2019-04-19 14:22:28 -07:00
Bryan Roe
6e543689f5
Updates service-manager on MacOS so Start/Stop calls load/unload when necessary
2019-04-18 14:50:38 -07:00
Bryan Roe
921c636bac
1. Added 'close' to getService() return object. (NOOP on Linux/MacOS)
...
2. Updated uninstallService on windows, to force close service handles.
2019-04-17 14:55:10 -07:00
Bryan Roe
9aae4c7508
1. Updated service-manager to support dependencies from Buffer
...
2. Updated service-host to have a 'create' method
2019-04-09 14:47:49 -07:00
Bryan Roe
d457364197
Updated, so getService() on Windows will show owning user
2019-04-08 15:41:41 -07:00
Bryan Roe
0e67ee8f48
Updated service-manager on MacOS so it can accomodate naming inconsistency between plist and service name
2019-03-28 21:46:35 -07:00
Bryan Roe
f10497b4b0
Updated service-manager for MacOS:
...
1. Added start, stop, restart
2. Added isRunning, isMe
2019-03-28 21:21:53 -07:00
Bryan Roe
7fd2945b62
Starting to add 'getService' for MacOS
2019-03-28 18:11:13 -07:00
Bryan Roe
9148dbb1de
service-manager update:
...
1. Added 'appWorkingDirectory()' to getService()
2. Fixed bug where init.d services didn't have working dir set
2019-03-28 16:44:33 -07:00
Bryan Roe
b54d09876c
Updated service-manager:
...
1. Updated to allow specifying alternate target filename
2. Updated uninstallService, to use the application location specified by service, on linux and MacOS
3. Updated AppLocation on systemd to parse ExecStart
2019-03-27 22:45:47 -07:00
Bryan Roe
57a9de8a03
Updated service-manager:
...
1. Fixed bug with setting service description on Windows
2. Added ability to set failure restart options
2019-03-22 23:34:17 -07:00
Bryan Roe
6352c35e22
Updated, so on upstart platforms, it uses initctl instead of service, to fix problems on older upstart platforms that don't map service to initctl.
2019-03-14 02:53:44 -07:00
Bryan Roe
2a8347be26
Added 'isMe' to service object for linux
2019-03-06 16:39:18 -08:00
Bryan Roe
75b55823ef
1. Added '.manager' singleton to service-manager.js
...
2. Updated fs.writeFileSync to support options.mode
3. Updated Linux Task Scheduler
2019-03-06 15:09:45 -08:00
Bryan Roe
0dc02d1495
Updated default service type to manual on Windows. Updated, to add ability to copy dependency files, using a different name
2019-03-05 15:50:28 -08:00
Bryan Roe
496a0b7508
1. integrated service-host
...
2. Fixed bug where windows service didn't delete the binary on uninstall
2019-03-05 14:59:44 -08:00
Bryan Roe
b2cdfe38a5
1. Fixed compiler warning
...
2. Added appLocation() to service-manager
2019-03-04 15:58:35 -08:00
Bryan Roe
692a3b52ba
Updated init.d service, so it supports parameters
2019-03-04 14:29:19 -08:00
Bryan Roe
8a923d57c9
1. Added plumbing for a Recovery agentcore
...
2. Added service control features for linux Service Manager
2019-03-03 22:04:21 -08:00
Bryan Roe
69cd6a0c6b
Updated upstart check, and added support for sysV/init
2019-02-22 02:21:25 -08:00
Bryan Roe
d12afc14a6
1. Fixed Service Detection on SystemD, and changed to use auto-restart instead of systemctrl restart, to remove dependency on restart=always
2019-02-21 08:15:32 -08:00
Bryan Roe
25b5f88bba
Updated AUTO_START
2019-02-20 14:24:10 -08:00
Bryan Roe
6128d2102d
Updated Windows
2019-02-20 14:02:33 -08:00
Bryan Roe
597c73b677
Updated init and systemd
2019-02-20 13:02:44 -08:00
Bryan Roe
032e350bf9
Updated uninstallService to be sync on linux instead of async
2019-02-01 13:02:43 -08:00
Bryan Roe
ca0ff0403a
updated service install to be sync on linux instead of async
2019-01-31 14:39:56 -08:00
Bryan Roe
242382d90b
Added MacOS support
2019-01-11 13:56:43 -08:00
Ylian Saint-Hilaire
3c80473a94
Major agent update.
2018-09-05 11:01:17 -07:00