This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/config/initializers/orbit_system_preference.rb

13 lines
472 B
Ruby
Raw Normal View History

2013-04-24 11:21:11 +00:00
module OrbitSystemPreference
ArchiveDbListPath = "#{Rails.root}/log/archive_db.list.log"
GitCommitListPath = "#{Rails.root}/log/git_commit.list.log"
ResqueLogFile ="#{Rails.root}/log/orbit_job.log"
GitLogCommend = 'git log --pretty=format:"%x09%ad%x09%s" --date=short'
DiskFree= 'df -h /'
DefaultDiskSpaceLimit = 3 #in GB
module SystemPackage
MongodbVersion = "mongod --version"
2013-04-29 07:23:15 +00:00
NginxVersion = "nginx -V 2>&1"
2013-04-24 11:21:11 +00:00
SystemVersion = "uname -a"
end
end