We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cd4d85 commit e16aad3Copy full SHA for e16aad3
lib/billy/ssl/certificate_helpers.rb
@@ -27,7 +27,7 @@ def serial
27
# and ensure the location is safely created. Pass
28
# back the resulting path.
29
def write_file(name, contents)
30
- path = File.join(Billy.config.certs_path, name)
+ path = File.join(Billy.config.certs_path, "#{Process.pid}-#{name}")
31
FileUtils.mkdir_p(File.dirname(path))
32
File.write(path, contents)
33
path
0 commit comments