mirror of
https://github.com/win32service/Win32ServiceBundle.git
synced 2026-03-24 09:12:17 +01:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea4d608cbb | ||
|
|
ca37fe5249 | ||
|
|
e833f4576f | ||
|
|
0a83a9ed09 | ||
|
|
d6b8080675 |
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
github: [macintoshplus]
|
||||
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019 Win32Service
|
||||
Copyright (c) 2019 Win32Service, "MacintoshPlus" <macintoshplus@mactronique.fr>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "win32service/win32servicebundle",
|
||||
"type": "symfony-bundle",
|
||||
"description": "Bundle for integrate the win32service/service-library into a Symfony Project",
|
||||
"keywords": ["win32service", "service", "windows", "service manager", "symfony", "bundle"],
|
||||
"homepage": "https://win32service.mactronique.fr/bundle.html",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
@@ -22,12 +25,12 @@
|
||||
},
|
||||
"minimum-stability": "beta",
|
||||
"require": {
|
||||
"php": "^7.1.0 <7.4.0",
|
||||
"php": "^7.1.0 <8.0.0",
|
||||
"win32service/service-library": "^0.1.0",
|
||||
"symfony/http-kernel": "^4.0",
|
||||
"symfony/console": "^4.0",
|
||||
"symfony/config": "^4.0",
|
||||
"symfony/dependency-injection": "^4.0"
|
||||
"symfony/http-kernel": "^4.0||^5.0",
|
||||
"symfony/console": "^4.0||^5.0",
|
||||
"symfony/config": "^4.0||^5.0",
|
||||
"symfony/dependency-injection": "^4.0||^5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"atoum/atoum": "^3.3"
|
||||
|
||||
@@ -89,7 +89,7 @@ class ExecuteServiceCommand extends Command
|
||||
|
||||
$runner = $this->service->getRunner($infos['service_id']);
|
||||
if ($runner === null) {
|
||||
throw new \Exception(sprintf('The runner for service "%1$s" is not found. Add tag "win32service.runner" with alias "%1$s" at the service runner service', $infos['service_id']));
|
||||
throw new \Exception(sprintf('The runner for service "%1$s" is not found. Call method \'add\' on the RunnerManager with the runner instance and the alias "%1$s".', $infos['service_id']));
|
||||
}
|
||||
|
||||
if ($this->eventDispatcher !== null) {
|
||||
|
||||
Reference in New Issue
Block a user