Do not automatically disable cannaserver because the Canna port no

longer enables it.
This commit is contained in:
Akinori MUSHA 2003-02-04 17:36:38 +00:00
parent 0e9073a57e
commit dc96cdca14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74681
3 changed files with 3 additions and 7 deletions

View file

@ -42,9 +42,6 @@ post-patch:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/${STARTER} ${PREFIX}/etc/rc.d/
if [ -x ${PREFIX}/etc/rc.d/canna.sh ]; then \
${CHMOD} -x ${PREFIX}/etc/rc.d/canna.sh; \
fi
${MKDIR} ${PREFIX}/lib/esecanna
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/esecanna

View file

@ -1,9 +1,10 @@
************************************************************
Quick Setup:
Take the following step all as root.
Take the following steps all as root.
1) Install one of the esecanna-module ports
2) Edit `${PREFIX}/etc/esecannarc'
3) Run `${PREFIX}/etc/rc.d/esecanna.sh'
3) Stop and disable cannaserver if you have it running
4) Run `${PREFIX}/etc/rc.d/esecanna.sh'
Each user may want to configure the behavior by editing
`~/.esecannarc', copied after `${PREFIX}/etc/esecannarc'.

View file

@ -1,8 +1,6 @@
@unexec if [ -x %D/etc/rc.d/esecanna.sh ]; then %D/etc/rc.d/esecanna.sh stop || true; fi
etc/esecannarc
etc/rc.d/%%STARTER%%
@unexec if [ -f %B/canna.sh ]; then chmod +x %B/canna.sh; fi
@exec if [ -x %B/canna.sh ]; then chmod -x %B/canna.sh; fi
@exec mkdir -p %D/lib/esecanna
@dirrm lib/esecanna
sbin/esecannaserver