Opened 15 years ago

Last modified 14 years ago

#139 reopened enhancement

rcinit

Reported by: dmorton Owned by: rjl
Priority: normal Milestone:
Component: General Version: 1.0.0
Severity: normal Keywords: init script
Cc:

Description

amavisd-maia needs init script to start/stop/restart. Different distros do this differently, but it shouldn't be too hard since amavisd has this functionality built in... a symlink to the main program may be all that is needed.

Change History (3)

comment:1 Changed 15 years ago by rjl

  • Resolution set to invalid
  • Status changed from new to closed

No need. The amavisd-new distribution already includes an init script. It's named "amavisd_init.sh", and just needs to be renamed to "amavisd" and copied to /etc/rc.d/init.d.

comment:2 Changed 15 years ago by dmorton

  • Resolution invalid deleted
  • Status changed from closed to reopened

This script does not work on SUSE 9.1 -

/etc/rc.d/amavisd-maia: line 13: /etc/rc.d/init.d/functions: No such file or directory

It appears that this is redhat centric.

however, SUSE 9.1 can easily be done with symlinks:

/etc/rc.d/amavisd-maia -> /usr/local/sbin/amavisd-maia
/usr/sbin/rcamavisd-maia -> /etc/rc.d/amavisd-maia
/etc/rc.d/amavisd-maia /etc/rc.d/rc5.d/S19amavisd-maia
/etc/rc.d/amavisd-maia /etc/rc.d/rc3.d/S19amavisd-maia
/etc/rc.d/amavisd-maia /etc/rc.d/rc5.d/K01amavisd-maia
/etc/rc.d/amavisd-maia /etc/rc.d/rc3.d/K01amavisd-maia

We need to add this to the documentation, and maybe provide a script to do this.

comment:3 Changed 14 years ago by dmorton

  • Milestone 1.0.0 RC6 deleted
  • Type changed from defect to enhancement
  • Version changed from 1.0.0 RC5 to 1.0.0
Note: See TracTickets for help on using tickets.