summaryrefslogtreecommitdiff
path: root/plugins/service/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-18 17:35:17 +0300
committerValery Piashchynski <[email protected]>2021-04-18 17:35:17 +0300
commitf5210c3f0739c03e9284c857d65dde3d97f3d84d (patch)
tree3a54f93b823487b5746467f2f4821d1d9ffd0ee5 /plugins/service/plugin.go
parent4e6dfc00c5619c4e749602d345fd2829ab0a3f07 (diff)
- Add more comments to the code
Diffstat (limited to 'plugins/service/plugin.go')
-rw-r--r--plugins/service/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/service/plugin.go b/plugins/service/plugin.go
index 75e849a3..bc72dbaf 100644
--- a/plugins/service/plugin.go
+++ b/plugins/service/plugin.go
@@ -49,7 +49,7 @@ func (service *Plugin) Serve() chan error {
// create needed number of the processes
for i := 0; i < service.cfg.Services[k].ProcessNum; i++ {
// create processor structure, which will process all the services
- service.processes = append(service.processes, NewFatProcess(
+ service.processes = append(service.processes, NewServiceProcess(
service.cfg.Services[k].RestartAfterExit,
service.cfg.Services[k].ExecTimeout,
service.cfg.Services[k].RestartDelay,