#include "constant.pm"
#include "POSIX.pm"
#include "FindBin.pm"
#include "File/Basename.pm"
#include "File/Spec/Functions.pm"
#include "Config.pm"
#include "Config/General.pm"
#include "lib.pm"
#include "ffencoderd/Encoder.pm"
#include "ffencoderd/Queue.pm"
#include "ffencoderd/PREFORK.pm"
Functions | |
Public Functions | |
void | usage () |
void | sigHUP_handler () |
string | insert0 (scalar date) |
String | longfmt (scalar sec, scalar min, scalar hour, scalar mday, scalar mon, scalar year, scalar wday, scalar yday, scalar iddst) |
void | appendfile (scalar fp, scalar msg) |
void | createpidfile (scalar pid) |
void | interrupt () |
void | REAPER () |
void | main () |
void appendfile | ( | scalar | fp, | |
scalar | msg | |||
) |
Append file: Append a string to a file.
string | $fp File name | |
string | $msg Message to log |
void createpidfile | ( | scalar | pid | ) |
Create pid file: Crea el archivo con el pid del proceso padre
int | $pid Pid number |
string insert0 | ( | scalar | date | ) |
Insert 0: Fix up date strings int $date
void interrupt | ( | ) |
Interrupt: Simple interrupt handler
String longfmt | ( | scalar | sec, | |
scalar | min, | |||
scalar | hour, | |||
scalar | mday, | |||
scalar | mon, | |||
scalar | year, | |||
scalar | wday, | |||
scalar | yday, | |||
scalar | iddst | |||
) |
Long format: Custom datestring for the logfile
void main | ( | ) |
Init app processes, http server and encoder daemon
void REAPER | ( | ) |
REAPER - a reaper of dead children/zombies with exit codes to spare
void sigHUP_handler | ( | ) |
Safe reload
void usage | ( | ) |
show usage dialog