Re: [webmin-l] Rotating fetchmail log
Chris <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2016-12-28 at 21:24 +0300, Andrey Repin wrote: > Greetings, Chris! > > > > > I'm wondering if I use the 'nosharedscripts' option will that allow > > fetchmail to be restarted as user 'chris' instead of root or > > attempt to > > start as root? > > Don't run fetchmail manually. Define a service that runs it with > appropriate > user's credentials. > Hello Andrey, I have it working, finally. I've setup a cronjob in webmin with this command line logrotate -v --state=/home/chris/logrotate/status /home/chris/logrotate/fetchmail.logrotate It's setup as user 'chris' of course. Once I'm sure it's working correctly as I have it set to run every day at 8am I'll change it to weekly. Thank you and all the others who assisted me in getting this setup. Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 14:33:26 up 7 days, 23:39, 1 user, load average: 0.34, 0.20, 0.18 Ubuntu 16.04.1 LTS, kernel 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list
signature.asc
(application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlhkIwQACgkQ43Kn2pjmcFyMjACgiWV/dg/sxSZXil5nUFyCasts +K0AniS9bokfZ1S3tgpeU8Wexytnvmp7 =JHu4 -----END PGP SIGNATURE-----