#!/opt/tapper/bin/perl
# PODNAME: tapper-simnow
# ABSTRACT: cmdline frontend to Tapper::SimNow/daemonize

use common::sense;

use Tapper::SimNow;
use Log::Log4perl;

use Daemon::Daemonize qw/:all/;

BEGIN {
        Log::Log4perl::init('/etc/log4perl.cfg');
}

Daemon::Daemonize->daemonize(close => "std");

my $sim = Tapper::SimNow->new();
$sim->run();

__END__
=pod

=encoding utf-8

=head1 NAME

tapper-simnow - cmdline frontend to Tapper::SimNow/daemonize

=head1 AUTHOR

AMD OSRC Tapper Team <tapper@amd64.org>

=head1 COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

  The (two-clause) FreeBSD License

=cut

