Map --daemon to 'daemonize' which is preferred instead of 'detach' which
is compat, and --pidfile as 'pid' which is preferred instead of
'pidfile' which is compat.
#### Script survey
-##### myapp_web_fastcgi.pl
-
-Looks to me like we are mapping --deamon to --detach but I think the modern Plack FCGI handler prefers --deamonize
-
-Although --pidfile is supported --pid seems to be preferred, and if we are bothering to map, why not map for the future?
-
### Nice to have
* <@rafl> i've been thinking of maybe providing
my ($self) = shift;
my $opts = Data::OptList::mkopt([
- qw/pidfile manager nproc proc_title/,
- detach => [ 'daemon' ],
+ qw/manager nproc proc_title/,
+ pid => [ 'pidfile' ],
+ daemonize => [ 'daemon' ],
keep_stderr => [ 'keeperr' ],
listen => [ '_listen' ],
]);