RE: Installing things into run-parts or .d directories.
Or the script could simply test and run like the init.d scripts do.
On 09-May-99 Karl M. Hegbloom wrote:
>
> What if a package is installed, and puts a script in a run-parts
> directory or into a .d directory, but isn't configured due to a
> missing dependancy? The newbie "sysadmin" doesn't know to look for
> it, and leaves it there, then gets email from cron. Per sends off a
> tech support question.
>
> This could be prevented by having a place (/etc/cron.scripts, or
> /etc/cron.d/crontabs) to install things to, then require that the
> postinst create a symlink during configuration.
>
> Hmmm...
> /etc/crontabs
> /etc/crontabs/crontab
> /etc/crontabs/cron.d/
> /etc/crontabs/pkg_blah_script
> ...
>
>
> --
> To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: