Lines Matching refs:pidfile
93 my ($pidfile, @tail) = validate_pos(@_, { type => SCALAR }, 0);
100 my $pid_state = Ubic::Daemon::PidState->new($pidfile);
109 unless (check_daemon($pidfile)) {
118 unless (check_daemon($pidfile)) {
128 unless (check_daemon($pidfile)) {
131 die "failed to stop daemon with pidfile '$pidfile' (pid $pid, timeout $timeout, trials $trial)";
139 pidfile => { type => SCALAR },
150 …my ($bin, $function, $name, $pidfile, $stdout, $stderr, $ubic_log, $term_timeout, $cwd, …
167 if (check_daemon($pidfile)) {
168 croak "Daemon with pidfile $pidfile already running, can't start";
171 my $pid_state = Ubic::Daemon::PidState->new($pidfile);
419 my $pidfile = shift;
428 my $pid_state = Ubic::Daemon::PidState->new($pidfile);
449 …die "pidfile $pidfile exists, but daemon pid is not saved in it, so existing unguarded daemon can'…
453 $print->("pidfile $pidfile removed - daemon with cached pid $piddata->{daemon} not found");
462 $print->("daemon '$daemon_cmd' from $pidfile just disappeared");
466 … $print->("killing unguarded daemon '$daemon_cmd' with pid $piddata->{daemon} from $pidfile");
469 $print->("pidfile $pidfile removed");
472 $print->("daemon pid $piddata->{daemon} cached in pidfile $pidfile, ubic-guardian not found");
474 $print->("removing pidfile $pidfile");