Re: [webmin-l] Rotating fetchmail log

Andrey Repin <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
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

That's another way of doing this, if you don't have access to system
configuration.

> 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. 

crontab -e

BTW. If you want to change this from ssh session.

> Thank you and all the others who assisted me in getting this setup.

NP, take care!
And happpy holidays!


-- 
With best regards,
Andrey Repin
Thursday, December 29, 2016 04:20:38

Sorry for my terrible english...
------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.