OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dictd/dictd.init
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. #
  16. #
  17. # ROCK Linux /etc/rc.d/init.d/dictd
  18. #
  19. # Desc: rfc 2229 compliant dictionary server
  20. # Runlevel: 90 rcX
  21. #
  22. main_begin
  23. block_begin(start, `Starting dict server (dictd).')
  24. check(`D_prefix/sbin/dictd --locale en_US.utf8')
  25. block_end
  26. block_begin(stop, `Stopping dict server (dictd).')
  27. check(`killall -15 dictd')
  28. block_end
  29. block_begin(restart, `Restarting dict server (dictd).')
  30. check(`$0 stop && $0 start')
  31. block_end
  32. block_begin(status, `Status for dictd')
  33. check(`ps auxw|grep dictd')
  34. block_end
  35. main_end