$self->daemonize;
return unless $self->is_daemon;
- $self->pidfile->write;
-
# make it easy to find with ps
$0 = 'test-app';
$SIG{INT} = sub {
ok(!$p->is_running, '... the daemon process is no longer running (' . $p->pid . ')');
ok(!(-e $PIDFILE), '... the PID file has been removed');
+unlink $ENV{MX_DAEMON_STDOUT};
+unlink $ENV{MX_DAEMON_STDERR};