1
0

clamsmtpd.init 318 B

12345678910111213141516
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2017 Lucian Cristian
  3. START=91
  4. USE_PROCD=1
  5. PROG=/usr/sbin/clamsmtpd
  6. start_service(){
  7. procd_open_instance
  8. procd_set_param command $PROG -p /var/run/clamsmtpd.pid
  9. procd_close_instance
  10. }
  11. service_triggers(){
  12. procd_add_reload_trigger "clamsmtpd"
  13. }