[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/federated-connector/cores/*.conf [Service] ExecStart=%h/.local/share/federated-connector/connector/system/email-watch Restart=on-failure RestartSec=30 [Install] WantedBy=graphical-session.target