diff options
| author | alex <alex@pdp7.net> | 2023-10-21 12:44:30 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-10-21 12:44:30 +0200 |
| commit | 02b000ab678816ae1c492cb9988adaf80db62556 (patch) | |
| tree | 183d8d5692e5813b013ca9f7eb7a0b372fe91f45 | |
| parent | 65bd013d7700d0a903fc61a6fb57e946dd0786b7 (diff) | |
Enable lingering
| -rw-r--r-- | scripts/p7s/mail/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/p7s/mail/__init__.py b/scripts/p7s/mail/__init__.py index ab1c5fad..0c37dd8b 100644 --- a/scripts/p7s/mail/__init__.py +++ b/scripts/p7s/mail/__init__.py @@ -43,3 +43,5 @@ def generate_config(): """).lstrip()) subprocess.run(["systemctl", "--user", "enable", "--now", "mbsync.timer"], check=True) + subprocess.run(["sudo", "loginctl", "enable-linger", "alex"], check=True) + |
