Bryan Roe
fd7a0a0f5b
Added startType property to getService() for Linux/systemd and FreeBSD
2019-08-27 11:04:43 -07:00
Bryan Roe
c983afdd4b
Added 'startType' property for getService result on Windows and Linux (Upstart/InitV)
2019-08-27 02:38:12 -07:00
Bryan Roe
b3accf17c1
Fixed typo, causing bug where service.conf wasn't committed when systemd tried to enable the service, resulting in the service not being configured to AUTO_START, when AUTO_START is specified.
2019-08-09 01:22:37 -07:00
Bryan Roe
9ae4eef5b7
1. Updated win-registry to be able to read REG_EXPAND_SZ types
...
2. Updated service-manager to support UTF8 on Windows
2019-08-08 17:32:58 -07:00
Bryan Roe
7e5ddc6767
Updated error reporting for service.restart() on windows
2019-08-07 16:26:08 -07:00
Bryan Roe
66273f8950
1. Updated waitExit() for windows to support a timeout
...
2. Updated ProcessPipe for Windows, to disable inheritance on detach
3. Updated service-manager to support restart on self for windows
2019-08-07 15:23:13 -07:00
Bryan Roe
d5962cd1b2
Modified service.stop() on Windows to use a promise, so you can verify the run state
2019-08-06 18:14:39 -07:00
Bryan Roe
0c7290723c
Optimized getService() on MacOS to use a property getter for some properties to speed things up when enumerating
2019-07-31 10:29:22 -07:00
Bryan Roe
8ffac90514
Implemented enumerateService for MacOS
2019-07-31 00:54:28 -07:00
Bryan Roe
7a319f4302
Implemented enumerateService() for Linux and FreeBSD
2019-07-30 23:47:43 -07:00
Bryan Roe
5a85f2dc47
add 'description' to getService() for init and upstart on linux
2019-07-30 17:30:36 -07:00
Bryan Roe
baffe1d115
Fixed bug with enumerateService()
2019-07-29 18:50:57 -07:00
Bryan Roe
804843eb32
Updated, so on INIT platforms when crash restart is specified, parameters can still be passed
2019-07-19 11:16:54 -07:00
Bryan Roe
5b7f892496
Udpated service-manager, so crash restart is supported on INIT platforms that are not UPSTART
2019-07-18 14:12:26 -07:00
Bryan Roe
134461448e
Added workaround for 'busybox' as service type
2019-07-16 15:12:52 -07:00
Bryan Roe
7745338d9e
added stop, start, restart, uninstallService for freebsd
2019-06-22 09:55:33 -07:00
Bryan Roe
a75e12b400
fixed indentation
2019-06-22 09:39:08 -07:00
Bryan Roe
894c4e7a7e
updated appLocation() for freebsd when daemon is used
2019-06-22 09:36:16 -07:00
Bryan Roe
dd8c16299c
first rev of service-manager update for freebsd
2019-06-22 02:24:39 -07:00
Bryan Roe
cfa22baf9c
fixed indentation
2019-06-21 17:43:27 -07:00
Bryan Roe
4d615ab955
fixed appWorkingDirectory() bug on freebsd
2019-06-21 17:38:03 -07:00
Bryan Roe
83fdcbc4b9
freebsd update
2019-06-21 17:35:57 -07:00
Bryan Roe
acc191212e
initial update for freebsd
2019-06-21 17:22:08 -07:00
Bryan Roe
3ab7316172
1. added 'getGroupID' for macos user-sessions
...
2. added support for per-user LaunchAgents on MacOS
2019-06-03 15:15:25 -07:00
Bryan Roe
1a1ba0084e
Updated MacOS service-manager to support LaunchAgents, and updated to support launchctl 2.0 API on Mac OS 10.10 and above
2019-05-22 13:50:03 -07:00
Bryan Roe
567feba9ff
1. Updated service-manager to support installing LaunchAgents
...
2. Started skeleton code for MacOS message-box
2019-05-20 17:25:25 -07:00
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