Steffen Barszus wrote: > Hi ! > > i'm trying to write an upstart script for vdr (http://www.tvdr.de). > > In order to start the daemon i first need to get a list of options for > the daemon. > > part of the typical list of options (this is $PLUGIN from below) > > -P "graphtft -d none" -P text2skin -P iptv -P "suspendoutput " -P > "skinsoppalusikka --logodir=/usr/share/vdr-xpmlogos" -P > streamdev-server -P avolctl -P markad -P extrecmenu -P skinelchi -P > quickepgsearch -P conflictcheckonly -P menuorg -P externalplayer -P > channellists -P epgsearchonly -P "live --port=8008 --ip=0.0.0.0" -P > wirbelscan -P "radio --files=/usr/share/vdr-plugin-radio > --live=/usr/share/vdr-plugin-radio/rtextUnten-kleo2-live.mpg > --replay=/usr/share/vdr-plugin-radio/rtextUnten-kleo2-replay.mpg > --encrypted=0 --verbose=1" -P "xine -r" -P epgsearch -P femon > > In order to get the quoting right i use eval in the script section. > Like that the daemon start - but upstart is refering to wrong pid. > > Is there any way i can fill this variables in pre-start and hand over > to the start section ? Is there any other way to tell upstart what the > correct pid is ? The pid option doesn't seem to exist (anymore? I'm > using karmic)
This was a quoting issue in the shell which i could get rid off in the meantime. Still learning on upstart though :) -- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
