/usr/share/pcsd/config.ru is in pcs 0.9.149-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | require "./pcsd.rb"
use Rack::SSL
#run Sinatra::Application
CERT_PATH = "."
Rack::Server.start :app => Sinatra::Application,
:SSLEnable => true,
:Port => 2222,
:SSLVerifyClient => OpenSSL::SSL::VERIFY_NONE,
:SSLCertificate => OpenSSL::X509::Certificate.new( File.open(File.join(CERT_PATH, "server.crt")).read),
:SSLPrivateKey => OpenSSL::PKey::RSA.new( File.open(File.join(CERT_PATH, "server.key")).read)
|