Hi,
With old version of rubycas-server (0.7.999999.20100202) i used rubycas-server
with the option -d (daemonize)
And I run rubycas-server with su to run rubycas-server with another user than
root :
su -c "rubycas-server -d -c $CONFFILE -P $PIDFILE" casserver
With new version of rubycas-sever (1.1.2) this option has disappeared.
I try daemons gem with a little script :
#!/usr/bin/env ruby
# this is rubycas-server-control
require 'rubygems' # if you use RubyGems
require 'daemons'
Daemons.run('rubycas-server')
But if I call this script with su, it does not work !
Can you help me ?
Thanks.
Original issue reported on code.google.com by jeanluc....@gmail.com on 4 Oct 2012 at 2:00
Original issue reported on code.google.com by
jeanluc....@gmail.com
on 4 Oct 2012 at 2:00