Blinkled does not know how to stop and start



  • I expect that this is an issue in 2.0.1 as well, but posting here in 2.1 anyway.
    blinkled puts the following service information in config.xml:

    		 <service><name>blinkled</name>
    			<rcfile>blinkled.sh</rcfile>
    			<executable>blinkled</executable></service> 
    

    But it does not create a blinkled.sh file.
    This seems to have the following consequences:
    a) Status:Services - the stop/start/restart buttons try but cannot actually do their actions for blinkled
    b) When removing blinkled the processes don't go away - I guess the package uninstall code tries to call blinkled.sh stop, but it doesn't work. Causes 2 sig11 errors when blinkled then dies from having its exe removed from under it.

    This is a package that is really easy to use for testing install/uninstall - small, has a pbi, has a daemon, service entry, menu entry… all the basics of a package and only 1 minute to install/uninstall. So would be good to have this last issue fixed.


  • Rebel Alliance Developer Netgate

    Shouldn't be too hard to fix, somewhere in the code it just needs to write out that rc file (like how other packages do, with write_rcfile()). I just need to find a few minutes to do it.


  • Banned

    A friendly (yearly) bump as it's still broken. :D


  • Rebel Alliance Developer Netgate

    Should be OK now.


  • Banned

    All good now… thanks.


Log in to reply