aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-10-21 12:44:30 +0200
committeralex <alex@pdp7.net>2023-10-21 12:44:30 +0200
commit02b000ab678816ae1c492cb9988adaf80db62556 (patch)
tree183d8d5692e5813b013ca9f7eb7a0b372fe91f45 /scripts
parent65bd013d7700d0a903fc61a6fb57e946dd0786b7 (diff)
Enable lingering
Diffstat (limited to 'scripts')
-rw-r--r--scripts/p7s/mail/__init__.py2
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)
+