]> xn--ix-yja.es Git - alex.git/commitdiff
Enable lingering
authoralex <alex@pdp7.net>
Sat, 21 Oct 2023 10:44:30 +0000 (12:44 +0200)
committeralex <alex@pdp7.net>
Sat, 21 Oct 2023 10:44:30 +0000 (12:44 +0200)
scripts/p7s/mail/__init__.py

index ab1c5fadadbd39eef04b84482f0134f3e9efd514..0c37dd8b48b98443306f1ce0e0985e30676a206c 100644 (file)
@@ -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)
+