mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-11 21:10:24 +01:00
[PR #13] [MERGED] Default to not writing a pidfile unless daemonized #74
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plashchynski/crono/pull/13
Author: @thomasfedb
Created: 4/1/2015
Status: ✅ Merged
Merged: 4/2/2015
Merged by: @plashchynski
Base:
master← Head:daemon-pidfile-default📝 Commits (1)
4b28f3dUpdated CLI and Config to default to not writing a pidfile unless daemonized.📊 Changes
3 files changed (+33 additions, -2 deletions)
View changed files
📝
lib/crono/cli.rb(+1 -0)📝
lib/crono/config.rb(+4 -1)📝
spec/config_spec.rb(+28 -1)📄 Description
Pidfiles are generally only used when you have a daemonized process. In other circumstances they are superfluous and can actually cause issues (e.g. deploying to Heroku with no
tmpdirectory).This PR enables pidfiles by default only when daemonized, although the pidfile can always be explicity enabled.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.