Return to lonmemcached CVS log | Up to [LON-CAPA] / loncom |
version 1.3, 2005/07/08 01:20:46 | version 1.5, 2005/07/08 02:22:58 |
---|---|
Line 15 open (PIDSAVE,">$pidfile"); | Line 15 open (PIDSAVE,">$pidfile"); |
print PIDSAVE "$$\n"; | print PIDSAVE "$$\n"; |
close(PIDSAVE); | close(PIDSAVE); |
exec('/usr/sbin/memcached','-m','256','-v'); | if (-e '/usr/sbin/memcached') { |
exec('/usr/sbin/memcached','-m','256','-v'); | |
} elsif (-e '/usr/bin/memcached') { | |
exec('/usr/bin/memcached','-m','256','-v'); | |
} else { | |
die("Unable to find memcached"); | |
} |