[Box Backup-commit] #67: Add mutexes for Win32 (client) to enable detection of running instance during install/uninstall
Box Backup
trac at boxbackup.org
Thu Mar 25 14:33:39 GMT 2010
#67: Add mutexes for Win32 (client) to enable detection of running instance
during install/uninstall
-------------------------+--------------------------------------------------
Reporter: achim | Owner: ben
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: bbackupd | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Comment(by chris):
There could be any number of independent Box Backup installations on a
machine, and this fix
would block that from working. This was a requested feature (see
http://osdir.com/ml/sysutils.backup.boxbackup.general/2006-02/msg00151.html
and FeatureRequests#RedundantServers).
What exactly is this for?
I think a better approach might be to use the existing command
socket/named pipe, try to connect
to the one specified in the configuration file, and if the connection is
successful, ask it
to terminate and wait for it to terminate. We could also ask for its PID
when we connect and monitor that PID to determine when the service has
shut down.
Another option is simply to ask the SCM to stop the named service before
removing it.
--
Ticket URL: <https://www.boxbackup.org/trac/ticket/67#comment:1>
Box Backup <http://www.boxbackup.org/>
An open source, completely automatic on-line backup system for UNIX.
More information about the Boxbackup-commit
mailing list