Warlock can have multiple instances on the same project #23
Labels
No labels
bug
confirmed
critical
database
discussion
documentation
email-support
enhancement
feature
suggestion
support
warlock
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-mvc-old#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Warlock needs to run a few checks to see if it's already running. These checks are currently being done by the Warlock Controller from within the application, but because we can now use the Hazaar Tool to start Warlock, it needs to do it's own checks. If it is already running then it should quit immediately before opening any sockets and such.
Start up process should be as follows:
signal.pid
file exists. If not, don't do any process checking so skip to step 6.signal.pid
.Warlock already has an
isRunning()
method that does the above but it I guess it's not working correctly.Ok. Looks like it's a permissions thing. The PID file is trying to be written to but it fails because the user running warlock does not have permission to overwrite the file. However startup continues as normal.
Fixed this as of
77595e420
which now handles signals and startup/shutdown better.Status changed to closed