Ticket #139 (reopened enhancement)

Opened 4 years ago

Last modified 3 years ago

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

Changed 4 years ago by rjl

  • status changed from new to closed
  • resolution set to invalid

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.

Changed 4 years ago by dmorton

  • status changed from closed to reopened
  • resolution invalid deleted

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.

Changed 3 years ago by dmorton

  • version changed from 1.0.0 RC5 to 1.0.0
  • type changed from defect to enhancement
  • milestone 1.0.0 RC6 deleted
Note: See TracTickets for help on using tickets.