Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
IQRF Gateway Webapp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Weblate
IQRF Gateway Webapp
Commits
86cda61e
Unverified
Commit
86cda61e
authored
5 years ago
by
Roman Ondráček
Browse files
Options
Downloads
Patches
Plain Diff
Gateway: fix SSH daemon service manager (fix #231)
Signed-off-by:
Roman Ondráček
<
ondracek.roman@centrum.cz
>
parent
2caac053
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/GatewayModule/Presenters/SshPresenter.php
+2
-2
2 additions, 2 deletions
app/GatewayModule/Presenters/SshPresenter.php
app/GatewayModule/config/models.neon
+1
-1
1 addition, 1 deletion
app/GatewayModule/config/models.neon
with
3 additions
and
3 deletions
app/GatewayModule/Presenters/SshPresenter.php
+
2
−
2
View file @
86cda61e
...
...
@@ -50,7 +50,7 @@ class SshPresenter extends ProtectedPresenter {
*/
public
function
handleDisable
():
void
{
$this
->
manager
->
disableService
();
$this
->
flashSuccess
(
'gateway.
unattendedUpgrades
.messages.disable'
);
$this
->
flashSuccess
(
'gateway.
ssh
.messages.disable'
);
}
/**
...
...
@@ -58,7 +58,7 @@ class SshPresenter extends ProtectedPresenter {
*/
public
function
handleEnable
():
void
{
$this
->
manager
->
enableService
();
$this
->
flashSuccess
(
'gateway.
unattendedUpgrades
.messages.enable'
);
$this
->
flashSuccess
(
'gateway.
ssh
.messages.enable'
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
app/GatewayModule/config/models.neon
+
1
−
1
View file @
86cda61e
...
...
@@ -4,7 +4,7 @@ services:
- App\GatewayModule\Models\LogManager(%daemon.logDir%)
- App\GatewayModule\Models\NetworkManager
- App\GatewayModule\Models\PowerManager
ssh.serviceManager: App\ServiceModule\Models\SystemDManager(@commandManager, 'ssh
d
')
ssh.serviceManager: App\ServiceModule\Models\SystemDManager(@commandManager, 'ssh')
ssh.manager: App\GatewayModule\Models\SshManager(@ssh.serviceManager)
- App\GatewayModule\Models\UnattendedUpgradesManager(@upgrade.serviceManager)
- App\GatewayModule\Models\UpdaterManager
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment