1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

allow tag option in conf file

This commit is contained in:
Alessandro Lepore 2014-03-07 08:06:38 +01:00
parent 7efcbf2a7d
commit 1926493c65
2 changed files with 9 additions and 0 deletions

View file

@ -134,6 +134,10 @@
# preload_app
# Additional text to display in process listing
#
# tag 'app name'
# === Puma control rack application ===

View file

@ -362,6 +362,11 @@ module Puma
def prune_bundler(answer=true)
@options[:prune_bundler] = answer
end
# Additional text to display in process listing
def tag(string)
@options[:tag] = string
end
end
end
end