Skip to content

Create a pid file if running in daemon mode#23

Open
casantos wants to merge 1 commit intodubiousjim:masterfrom
casantos:add-pid-file
Open

Create a pid file if running in daemon mode#23
casantos wants to merge 1 commit intodubiousjim:masterfrom
casantos:add-pid-file

Conversation

@casantos
Copy link
Copy Markdown

@casantos casantos commented Jul 20, 2019

  • defs.h: #define PIDFILE (default /var/run/crond.pid).
  • subs.c: make fdprintf return a status, as required by the change in
    main.c.
  • main.c: create a pid file by default; add options to disable the pid
    file cration and to create it at a different path.
  • crond.8: document the new feature.

Signed-off-by: Carlos Santos unixmania@gmail.com

- defs.h: #define PIDFILE (default /var/run/crond.pid).
- subs.c: make fdprintf return a status, as required by the change in
  main.c.
- main.c: create a pid file by default; add options to disable the pid
  file cration and to create it at a different path.
- crond.8: document the new feature.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
@tpetazzoni
Copy link
Copy Markdown

Hello @dubiousjim, do you think you would have the chance to review this pull request ? Thanks!

@ptchinster
Copy link
Copy Markdown

This project is dead, i have forked and included this in my fork. @tpetazzoni @casantos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants