[Unit] Description=Starts and stops the fetchmail daemon used to retrive mail via various protocols (such as POP3 and IMAP4). ConditionFileIsExecutable=/usr/bin/fetchmail After=network.target [Service] Type=forking ExecStart=/etc/rc.d/init.d/fetchmail start ExecStop=/etc/rc.d/init.d/fetchmail stop RemainAfterExit=yes StandardOutput=syslog StandardError=syslog [Install] WantedBy=multi-user.target