diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7233aef..b54ecef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -184,9 +184,7 @@ jobs: release_name: ${{ env.VERSION }} body: | **Changes**: - - Added `--dry-run` option to simulate an update - - Removed the `--set-update-method` and `--get-update-method` options, now the update method is always one package at a time (easier to log) - - Reposerver module: improved logs output cleaning before sending it to the reposerver + - Fixed mail report sending draft: false prerelease: false diff --git a/src/controllers/App/Service.py b/src/controllers/App/Service.py index 9fa7990..f593377 100644 --- a/src/controllers/App/Service.py +++ b/src/controllers/App/Service.py @@ -34,8 +34,8 @@ def main(self): try: print("[linupdate] Hi, I'm linupdate service. I will start all enabled module agents and let them run in background. Stop me and I will stop all module agents.") - # Wait 3 seconds to let the above message to be read - time.sleep(3) + # Wait 10 seconds to let the above message to be read + time.sleep(10) while True: # Restart check diff --git a/src/controllers/Mail.py b/src/controllers/Mail.py index 0c27ac2..0bc3692 100644 --- a/src/controllers/Mail.py +++ b/src/controllers/Mail.py @@ -52,6 +52,7 @@ def send(self, subject: str, body_content: str, recipient: list, logfile = None) # Send the message via our own SMTP server s = smtplib.SMTP('localhost') + # s = smtplib.SMTP(socket.getfqdn()) s.send_message(msg) s.quit() diff --git a/version b/version index fbcbf73..e5b8203 100644 --- a/version +++ b/version @@ -1 +1 @@ -3.4.0 \ No newline at end of file +3.5.0 \ No newline at end of file