William L. Thomson Jr. wrote:
> Greetings,
> 
>       I have been using ASSP for several years now. I love it. I am very
> pleased to see the new features in 1.2.5. I am still running older 1.1.x
> versions. But looking to upgrade ASAP. In the mean time I am also having
> to setup ASSP on a new mail server.
> 
>       Since I have several ASSP installs to maintain, upgrade and etc. I
> would like to have it packaged and available on Gentoo as an ebuild. So
> people can emerge assp. To download, install and etc ASSP.
> 
>       In the process of doing such, I have noticed that ASSP does not like
> stuff to be outside it's base directory. Specifically despite having a
> configurable path, does not allow for log file or pid file to be outside
> of base directory. At a minimum I would like for the pid file to be
> in /var/run/assp/. I would like the maillog to be in /var/log/assp/.
> 
>       Now I can get the pid file in the right place if I modify aspects of
> assp.pl. At the moment via sed
> 
> sed -i -e 's:$base/$pidfile:/var/run/assp/$pidfile:' \
>        -e "s:'pid':'asspd.pid':"
> 
>       I can't seem to do anything with the log file. It seems to only want to
> be in the base directory. Now if those things can be addressed that
> would be great.
> 
>       Also one last thing that would be nice. Would be if ASSP's images
> directory can be located outside of the base directory. Currently we are
> putting all *pl *sh stuff in /usr/share/assp, along with the images
> directory. All *txt *.sav and etc goes in the base
> directory, /var/lib/assp.
> 
>       This respects FHS[1] with regard to layout and where files are
> installed. Since only thing in /var is variable data and the stuff
> in /usr/share/assp, is not. That's the executables and resources.
> I am doing a temp work around with the images by placing a symlink
> to /usr/share/assp/images in /var/lib/assp.
> 
>       My current biggest concern is being able to control the location of the
> log file outside of the base directory. Second is basically the same but
> with regard to the pid file. Finally the third is ability to specify
> location of images. So ASSP can be installed per FHS[1].
> 
> 1. http://www.pathname.com/fhs/
> 
> Thanks and keep up the awesome work.
> 

The FreeBSD port uses symlinks to place the files in the appropriate places.
As long as permissions are maintained properly it works without an issue.

Kevin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to