howto run mythzmserver on startup?
Submitted by BluePoint on September 29, 2009 - 2:07pm
Anyone help me in starting a script - I have a stable MD.21 setup, I also have ZoneMinder running and have configured the FE so I can view my cameras form within Myth - everything works ok.
The challenge is the Myth Plugin needs /usr/bin mythzmserver running so Myth FE can talk to ZoneMinder. So I need to be able to create a service I can start on boot up (after ZoneMinder) which executes /usr/bin/mythzmserver
There are few posts on this - the main one suggests altering the ZoneMinder startup script in /etc/init.d/ but it too complex for me to work out how to correct add in the mythzmserver element..
Help pls!
Cheers
John

Use the editor of your
Use the editor of your choice and find this line in /usr/share/mythdora/mythfrontend.sh
$frontend $FRONTOPTS &
above this line add
/usr/bin/mythzmserver& or whatever the command you're trying to launch is.
This will start the zmserver before launching the frontend.
Maybe in the next release I'll have an checkbox that says "enable zmserver daemon" in the config portion. So this will be automatic.
Pisani