From 459cec5b89d58e77f0444867a3def16aed3abed9 Mon Sep 17 00:00:00 2001 From: xuxijian Date: Sun, 19 Jan 2020 21:33:18 -0500 Subject: [PATCH] modify service --- fetchmail.service | 2 +- fetchmailrc.example | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 fetchmailrc.example diff --git a/fetchmail.service b/fetchmail.service index f59312c..4b6289f 100644 --- a/fetchmail.service +++ b/fetchmail.service @@ -4,7 +4,7 @@ After=local-fs.target network.target [Service] User=mail -ExecStart=/usr/bin/fetchmail -d 300 --fetchmailrc /etc/fetchmailrc.example +ExecStart=/usr/bin/fetchmail -d 300 -f /etc/fetchmailrc RestartSec=1 [Install] diff --git a/fetchmailrc.example b/fetchmailrc.example deleted file mode 100644 index e6c2c12..0000000 --- a/fetchmailrc.example +++ /dev/null @@ -1,2 +0,0 @@ -#poll pop.domain.com proto pop3 -# user 'user1' there with password 'secret' is user1 here -- Gitee