Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused pidfile and logfile global variables #1032

Merged
merged 3 commits into from
Feb 24, 2025

Conversation

ulmus-scott
Copy link
Contributor

Also improve code creating and deleting the pidfile for mythbackend.

Expanded version of a commit from #671.

Checklist

@ulmus-scott ulmus-scott force-pushed the pidfile branch 2 times, most recently from 6a5eb9e to 56246ec Compare February 13, 2025 02:16
Only mythbackend deletes the pidfile it creates.

MythCommandLineParser says --logfile was removed in version 0.25.
It is created first by the call to MythCommandLineParser::Daemonize() which
calls openPidfile().

This also makes the other programs delete the pidfile as seems to
have been the intention.
@linuxdude42 linuxdude42 self-assigned this Feb 22, 2025
@linuxdude42 linuxdude42 merged commit 2f85f97 into MythTV:master Feb 24, 2025
10 of 11 checks passed
@ulmus-scott ulmus-scott deleted the pidfile branch February 25, 2025 02:31
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.

2 participants