Il y a 389 articles et 19 utilisateurs inscrits (ce bandeau est défini dans MediaWiki:Sitenotice)
« Jubilotheque » : différence entre les versions
Aller à la navigation
Aller à la recherche
| Ligne 19 : | Ligne 19 : | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo chmod 755 /etc/init.d/tomcat6-front | sudo chmod 755 /etc/init.d/tomcat6-front | ||
sudo update-rc.d | sudo update-rc.d tomcat6-front defaults | ||
sudo service | sudo service tomcat6-front start | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Version du 7 janvier 2015 à 14:46
/etc/init.d/tomcat6-front
case $1 in
start)
su -c "sh /opt/tomcat6-front/bin/startup.sh" ajlsm
;;
stop)
su -c "sh /opt/tomcat6-front/bin/shutdown.sh -f" ajlsm
;;
restart)
su -c "sh /opt/tomcat6-front/bin/shutdown.sh -f" ajlsm
su -c "sh /opt/tomcat6-front/bin/startup.sh" ajlsm
;;
esac
exit 0
sudo chmod 755 /etc/init.d/tomcat6-front
sudo update-rc.d tomcat6-front defaults
sudo service tomcat6-front start
/etc/init.d/tomcat6-back
case $1 in
start)
su -c "sh /opt/tomcat6-back/bin/startup.sh" ajlsm
;;
stop)
su -c "sh /opt/tomcat6-back/bin/shutdown.sh -f" ajlsm
;;
restart)
su -c "sh /opt/tomcat6-back/bin/shutdown.sh -f" ajlsm
su -c "sh /opt/tomcat6-back/bin/startup.sh" ajlsm
;;
esac
exit 0
sudo chmod 755 /etc/init.d/tomcat6-back
sudo update-rc.d tomcat-back defaults
sudo service tomcat6-back start