-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I was wondering if it is intended behavior that the PID file be removed upon issuing a stop command. I have this, in a script titled <path>/pl.pl:
#!/usr/bin/env perl
use warnings;
use v5.12;
use App::Daemon qw( daemonize );
daemonize();
while(1) {
sleep(1);
}
If I start it and run <path>/pl.pl status I get
Pid file: ./pl.pid
Pid in file: 1080593
Running: yes
Then:
$ <path>/pl.pl stop
$ <path>/pl.pl status
---
Pid file: ./pl.pid
No pidfile found
I ask because the docs seem to suggest the output to status should be something like
Pid file: ./pl.pid
Pid in file: 1080593
Running: no
Name match: 0
Metadata
Metadata
Assignees
Labels
No labels