Increased the sleep hack on the Tomcat service

svn path=/nixos/branches/fix-style/; revision=14168
This commit is contained in:
Nicolas Pierron 2009-02-22 16:07:29 +00:00
parent 77db653dfe
commit 38aac77669

View File

@ -99,7 +99,7 @@ in
end script end script
respawn ${pkgs.su}/bin/su -s ${pkgs.bash}/bin/sh ${cfg.user} -c 'CATALINA_BASE=${cfg.baseDir} JAVA_HOME=${pkgs.jdk} JAVA_OPTS="${cfg.javaOpts}" CATALINA_OPTS="${cfg.catalinaOpts}" ${pkgs.tomcat6}/bin/startup.sh; sleep 1d' respawn ${pkgs.su}/bin/su -s ${pkgs.bash}/bin/sh ${cfg.user} -c 'CATALINA_BASE=${cfg.baseDir} JAVA_HOME=${pkgs.jdk} JAVA_OPTS="${cfg.javaOpts}" CATALINA_OPTS="${cfg.catalinaOpts}" ${pkgs.tomcat6}/bin/startup.sh; sleep 1000d'
stop script stop script
echo "Stopping tomcat..." echo "Stopping tomcat..."