mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
pylink: add a migration note for pid checking
This commit is contained in:
parent
b750bd4d15
commit
c4e0923fb5
5
pylink
5
pylink
@ -41,8 +41,9 @@ if __name__ == '__main__':
|
|||||||
if not args.no_checkpid:
|
if not args.no_checkpid:
|
||||||
config = conf.confname
|
config = conf.confname
|
||||||
if os.path.exists("%s.pid" % config):
|
if os.path.exists("%s.pid" % config):
|
||||||
log.error("PID file exists; aborting! If Pylink didn't shut down cleanly last time it "
|
log.error("PID file exists; aborting! If PyLink didn't shut down cleanly last time it "
|
||||||
"was run, delete %s.pid and try again." % config)
|
"was run, or you're upgrading from PyLink < 1.1-dev, delete %s.pid and try "
|
||||||
|
"again." % config)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Write a PID file unless specifically told not to.
|
# Write a PID file unless specifically told not to.
|
||||||
|
Loading…
Reference in New Issue
Block a user