From: Mark M. <Mar...@ij...> - 2005-12-01 23:55:57
|
Kurt, > Running Amavisd-new under FreeBSD 5.3-Release. > I've just started using the aforementioned script, and it's not doing > exactly what I expect. In particular, when I run it either as root or vscan > (the amavis user) like so: # /usr/local/etc/rc.d/amavisd.sh restart > I get .: Can't open %%RC_SUBR%%: No such file or directory > > The script is below - I have no idea what the line that reads > . %%RC_SUBR%% > is doing, but it seems to be the culprit. > # PROVIDE: amavisd > # BEFORE: mail > # KEYWORD: FreeBSD shutdown > prefix=%%PREFIX%% Seems like you have a copy of the file: /usr/ports/security/amavisd-new/files/amavisd.sh.in in your /usr/local/etc/rc.d/amavisd.sh, instead of having a preprocessed copy, as provided by 'make install'. Try: make deinstall reinstall Mark |