From: Peter P. <ro...@ri...> - 2016-02-08 09:04:11
|
On Mon, Feb 08, 2016 at 03:04:35AM -0500, grarpamp wrote: > On Sun, Feb 7, 2016 at 3:32 PM, J. Echter > <j.e...@ec...> wrote: > > i'd like to run fetchmail in daemonmode on centos 7. > > > > whats the best way to do this? > > There and entire section in the fetchmail man page > dedicated to 'DAEMON MODE'. And an sh(1) page. > Once you get any unix job detached from the terminal, > whatever tools you use to manage it is up to you. > Since you're trying to use centos tools, you probably > want to consult the centos forums. The sweetest part is that with systemd you don't even need to detach fetchmail; systemd is quite good at supervising foreground processes, so something that runs "fetchmail -vNd120" or similar should be good enough, say, in a .service file with Type=simple. G'luck, Peter -- Peter Pentchev ro...@ri... ro...@Fr... pp...@st... PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 |