lib/rest-ftp-daemon/settings.rb in rest-ftp-daemon-0.231.0 vs lib/rest-ftp-daemon/settings.rb in rest-ftp-daemon-0.231.1
- old
+ new
@@ -24,10 +24,10 @@
def init_defaults
# Init host if missing
Settings["host"] ||= `hostname`.chomp.split(".").first
# Init PID file name if missing
- Settings["pidfile"] ||= "/tmp/#{APP_NAME}-#{Settings['host']}-#{Settings['port']}.pid"
+ Settings["pidfile"] ||= "/tmp/#{APP_NICK}-#{Settings['host']}-#{Settings['port']}.pid"
# Init NEWRELIC env
if Settings.newrelic_enabled?
# Enable module
ENV["NEWRELIC_AGENT_ENABLED"] = "true"