[Unit] Description=Pause a Core's email when the mail server stops taking its password PartOf=graphical-session.target After=graphical-session.target # Only for those who've set up a Core (configure core starts it then) ConditionPathExistsGlob=%h/.config/coredesktop/cores/*.conf [Service] ExecStart=%h/.local/share/coredesktop/system/email-watch Restart=on-failure RestartSec=30 [Install] WantedBy=graphical-session.target