Advertisement
Guest User

pre-stop script

a guest
Jan 8th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. # Ubuntu upstart file at /etc/init/slice-cme.conf
  2.  
  3. description "Slice CME Application"
  4.  
  5. start on runlevel [2345]
  6. stop on runlevel [06]
  7.  
  8. env CME_HOME=/opt/slice/cme/cme-current
  9.  
  10. script
  11. su - cme -c "cd $CME_HOME && (exec nohup java -Xms392m -Xmx392m -Dconfig.file=conf/cme-override.groovy -cp \"lib/*\" com.slice.cme.webapp.Application > $CME_HOME/logs/console.log 2>&1 &)"
  12. pre-stop script
  13. end script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement