From 15885c4dfc90a8682c2b9eb59ee8c8ab03e959d4 Mon Sep 17 00:00:00 2001 From: missytake Date: Sat, 3 Feb 2024 17:06:02 +0100 Subject: [PATCH] remove duplicate enable-linger --- src/teams_bot/pyinfra.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/teams_bot/pyinfra.py b/src/teams_bot/pyinfra.py index 61497aa..fe877ea 100644 --- a/src/teams_bot/pyinfra.py +++ b/src/teams_bot/pyinfra.py @@ -80,11 +80,6 @@ def deploy_teams_bot( bot_email=bot_email, ) - server.shell( - name=f"enable {unix_user}'s systemd units to auto-start at boot", - commands=[f"loginctl enable-linger {unix_user}"], - ) - systemd.daemon_reload( name=f"{unix_user}: load teams-bot systemd service", user_name=unix_user,