Opened 17 years ago
Closed 17 years ago
#3573 closed patch (fixed)
Updates to Fedora init script / sysconfig config file
Reported by: | Owned by: | Anduin Withers | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | init script sysconfig fedora |
Cc: | Ticket locked: | no |
Description
Further updates to the Fedora init script and sysconfig configuration file. Updates include:
- Add config: information to init-script header
- Break up logging configuration into log dir, log file, and log options
- Startup check for pseudo-home directory
- Startup check for logging directory
- Hardcode mythbackend.pid filename - this is referenced in init-script header
- Remove pidfile when stopping mythbackend service
- Remove unused reload() function
- Add configuration of MBE_USER to config file (previously missing)
- Add more information for running mythbackend as a non-root user
Cheers, Nick
Attachments (4)
Change History (10)
Changed 17 years ago by
Attachment: | 3573-fedora-init-script-update.diff added |
---|
comment:1 Changed 17 years ago by
This update also re-orders the user-configurable variables consistently between the two files.
comment:2 Changed 17 years ago by
Owner: | changed from Isaac Richards to Anduin Withers |
---|
comment:3 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks to Nick Morrott for this patch. I modified it slightly, anything broken is my fault.
- Add config: information to init-script header
- Break up logging configuration into log dir, log file, and log options
- Startup check for pseudo-home directory
- Startup check for logging directory
- Remove pidfile when stopping mythbackend service
- Remove unused reload() function
- Add configuration of MBE_USER to config file (previously missing)
- Add more information for running mythbackend as a non-root user
comment:4 Changed 17 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
An update to the Fedora init script and config file which:
- removes the MYTHTV_HOME variable and runtime checking for its existence
- adds a further warning about running the backend as non-root
- some tidying up and re-ordering of variables for consistency
- hardcodes the pidfile name into the script to allow external script to reference the pidfile
When daemon --user is used to start mythbackend, it calls runuser which in turn starts mythbackend with a login shell. This should ensure that $HOME is correctly defined for the mythbackend user and no extraneous files should be created in /.
Changed 17 years ago by
Attachment: | 3573-fedora-init-script-update-2.diff added |
---|
Further updates to Fedora init script and config file
Changed 17 years ago by
Attachment: | 3573-fedora-init-script-update-2.2.diff added |
---|
Further updates to Fedora init script and config file (ignore earlier file)
comment:5 Changed 17 years ago by
Further cumulative updates to Fedora init script and config file (ignore earlier files). In addition, this adds silencing of any errors from 'which mythbackend'
Changed 17 years ago by
Attachment: | 3573-fedora-init-script-update-2.3.diff added |
---|
Further updates to Fedora init script and config file (ignore earlier files)
comment:6 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Updates for Fedora init script and sysconfig config file