/usr/bin/refdb-sruserver is in refdb-clients 1.0.2-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/usr/bin/perl
use warnings;
use strict;
use RefDB::SRUserver;
# change into the directory that contains the RefDB SRU stylesheets
chdir '/usr/share/refdb/sru' or die "Can't cd to stylesheet directory: $!\n";
# create the web server
my $server = RefDB::SRUserver->new();
# set the configuration directory
$server->{"confdir"} = "/etc/refdb";
# run the server. If nothing goes wrong, this call never returns.
# To terminate the server again, kill it with ctrl-c
$server->run();
exit 0;
|