I've installed ubic from ppa to ubuntu 12.04.
Then I've created file /etc/ubic/service/tmp:
use Ubic::Service::SimpleDaemon;
my $service = Ubic::Service::SimpleDaemon->new(
bin => qq/perl -e 'while (1) { print time . "\n"; sleep 1; }'/,
stdout => "/tmp/tmp-out.log",
stderr => "/tmp/tmp-err.log",
ubic_log => "/tmp/tmp-ubic.log",
);
Afther I ran `sudo ubic start tmp` the file '/tmp/tmp-out.log' is created, but I has no content.
If I change the bin command to:
bin => qq/perl -e 'while (1) { warn time . "\n"; sleep 1; }'/,
And restart service, then I get what I expect in the file "/tmp/tmp-err.log".
Can you please help me with this behaviour.