Meike Stone <meike.st...@gmail.com> writes: >> >From your explanations, I understand that logrotate would create the >> file if logrotate rotates the file, which requires the file to exist in >> the first place, so create it manually and let logrotate rotate and >> create the file in the future. Does that work? (This somewhat ignores >> issues with file permissions that may exist.) > > Yes, this works, but I don't want to create this with an extra command, > because the application (script) delivers the own crontab (/etc/cron.d/ and > own logrotate (etc/logrotate.d) file.
And your script cannot simply touch the logfile to create it as well? -- Debian testing amd64 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87sja8ek1z....@yun.yagibdah.de