Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b2d0825efd
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (15 sloc) 0.331 kb
#!/usr/bin/ruby
#
require 'etc'
begin
pwent = Etc.getpwnam('diaspora')
Process.gid = pwent.gid
Process.egid = pwent.gid
Process.uid = pwent.uid
Process.euid = pwent.uid
rescue => e
logger "Can't set diaspora uid/gid: " + e.inspect
exit( 2 )
end
Dir.chdir( '/usr/share/diaspora/master')
exec( ARGV.join(" ") )
Jump to Line
Something went wrong with that request. Please try again.