Ticket #427 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

/etc/init.d/ispcp_daemon doesn't support "status"

Reported by: pasichnyk Assigned to: raphael
Priority: feature Milestone: ispCP ω 1.0.0 - RC3
Component: Backend (Engine) Version: ispCP ω 1.0.0 - DEV
Severity: Keywords: init script
Cc:

Description

localhost ~ # /etc/init.d/ispcp_daemon status Usage: /etc/init.d/ispcp_daemon {start|stop|restart|force-reload}

Most init.d scripts support a "status" query. Also in gentoo we have a "zap" option, to reset that status to stopped (in case it crashes or something). Just a few ideas.

Attachments

Change History

06/23/07 09:47:28 changed by pasichnyk

A few more init.d comments. ispcp_daemon was running prior to these "restart" calls. First one

localhost ispcp-trunk # /etc/init.d/ispcp_daemon restart Restarting ispcp_daemon: Stopped /var/www/ispcp/daemon/ispcp_daemon (pid 5447). /var/www/ispcp/daemon/ispcp_daemon already running. localhost ispcp-trunk # /etc/init.d/ispcp_daemon restart Restarting ispcp_daemon: No /var/www/ispcp/daemon/ispcp_daemon found running; none killed.

After these calls the ispcp_daemon is no longer running... Seems that the first call stopped but then didn't start because it said it was still running. Maybe the stop took time time and needed to wait before trying to start again...

06/23/07 16:59:16 changed by rats

  • milestone changed from ispCP ω 1.0.0 - RC3 to ispCP ω 1.1.0.

06/24/07 01:55:05 changed by raphael

  • priority changed from minor to feature.
  • version changed from ispCP ω 1.0.0 - RC2 to ispCP ω 1.0.0 - DEV.
  • type changed from defect to enhancement.

07/18/07 05:01:53 changed by raphael

  • owner set to raphael.
  • status changed from new to assigned.
  • milestone changed from ispCP ω 1.1.0 to ispCP ω 1.0.0 - RC3.

07/18/07 05:43:19 changed by raphael

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r712


Add/Change #427 (/etc/init.d/ispcp_daemon doesn't support "status")




Action