linux - Startup script always crashing on ubuntu 9.10 server edition -


i wrote startup script starts @ startup ubuntu 9.10 server edition , rsync of directories specified in path, did startup in old fashion way linking script init.d , placing on run level, working , able start on startup after while service of script not running. crashes on middle after 5 minutes when system , code inside script line of rsync sure not problem , have invoke script again start services? wrong this? can help??

check /var/log/ directory log entries -- don't know upstart should, hope kill /etc/init.d/rc* task runs 5 minutes. init scripts should use start-stop-daemon start specific programs run long time. (that way, same programs can gracefully shut down @ reboot or shutdown time.) scripts should run in under second or so.

i'd suggest writing actual upstart management script , placing /etc/init/ instead of fighting init script. don't think upstart going away :) might used it.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -