Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
agentdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
4ff6b3aa
authored
Dec 10, 2025
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
protol.py - polish
parent
edddef0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
miscellaneous/agentdriver.service
+1
-0
protocol.py
+0
-3
No files found.
miscellaneous/agentdriver.service
View file @
4ff6b3aa
...
...
@@ -5,6 +5,7 @@ BindsTo=node.service
[Service]
User=cloud
Group=cloud
SyslogIdentifier=agentdriver
WorkingDirectory=/home/cloud/agentdriver
ExecStart=/bin/bash -c "source /etc/profile; workon agentdriver; exec python agentdriver.py"
Restart=always
...
...
protocol.py
View file @
4ff6b3aa
...
...
@@ -88,8 +88,6 @@ class SerialLineReceiver(SerialLineReceiverBase):
def
handle_command
(
self
,
command
,
args
):
logger
.
info
(
'serial_command:
%
s
%
s'
,
command
,
args
)
from
kombu
import
Exchange
,
Queue
if
command
==
'agent_stopped'
:
logger
.
debug
(
'agent_stopped
%
r'
,
self
.
factory
.
vm
)
agent_stopped
.
apply_async
(
args
=
(
self
.
factory
.
vm
,
))
...
...
@@ -101,7 +99,6 @@ class SerialLineReceiver(SerialLineReceiverBase):
)
# logger.debug("apply_async %r", st.id)
# logger.debug("apply_st6 %r", st.status)
elif
command
==
'renew'
:
renew
.
apply_async
(
args
=
(
self
.
factory
.
vm
,
))
elif
command
==
'ping'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment