Show More
@@ -87,5 +87,9 b' def killdaemons(pidfile, tryhard=True, r' | |||||
87 | pass |
|
87 | pass | |
88 |
|
88 | |||
89 | if __name__ == '__main__': |
|
89 | if __name__ == '__main__': | |
90 |
|
|
90 | if len(sys.argv) > 1: | |
|
91 | path, = sys.argv[1:] | |||
|
92 | else: | |||
|
93 | path = os.environ["DAEMON_PIDS"] | |||
|
94 | ||||
91 | killdaemons(path) |
|
95 | killdaemons(path) |
General Comments 0
You need to be logged in to leave comments.
Login now