Skip to content

Instantly share code, notes, and snippets.

@snebel29
Last active September 22, 2016 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snebel29/4d3d7bbd49f5aad2a202626017e12446 to your computer and use it in GitHub Desktop.
Save snebel29/4d3d7bbd49f5aad2a202626017e12446 to your computer and use it in GitHub Desktop.
require 'json'
require 'sinatra'
get '/' do
puts "got it"
end
----------------------------------------------
[Unit]
Description=iacpl-dashboard-service
[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/local/bin/thin --port 8080 start --daemonize
Restart=always
WorkingDirectory=/opt/iacpl-dashboard
[Install]
WantedBy=multi-user.target
----------------------------------------------
Sep 22 08:57:57 kibana005iad.io.askjeeves.info systemd[1]: Starting iacpl-dashboard-service...
Sep 22 08:57:57 kibana005iad.io.askjeeves.info thin[114309]: /usr/share/gems/gems/abrt-0.0.6/lib/abrt/exception.rb:16:in `executable': undefined method `[]' for nil:NilClass (NoMethodError)
Sep 22 08:57:57 kibana005iad.io.askjeeves.info thin[114309]: from /usr/share/gems/gems/abrt-0.0.6/lib/abrt/handler.rb:10:in `handle_exception'
Sep 22 08:57:57 kibana005iad.io.askjeeves.info thin[114309]: from /usr/share/gems/gems/abrt-0.0.6/lib/abrt.rb:7:in `block in <top (required)>'
Sep 22 08:57:57 kibana005iad.io.askjeeves.info abrt[114314]: detected unhandled Ruby exception in '/usr/local/bin/thin'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment