# cat /etc/supervisord.d/getui_ad_api.ini
[program:getui_ad_api]
directory=/app/newgetui/getui_ad_api/current/
command=bash /app/newgetui/getui_ad_api/current/run.sh
autostart=true ; start at supervisord start (default: true)
autorestart=true ; retstart at unexpected quit (default: true)
startsecs=3
startretries=3 ; max # of serial start failures (default 3)
exitcodes=0,2 ; 'expected' exit codes for process (default 0,2)
stopsignal=QUIT ; signal used to kill process (default TERM)
stopwaitsecs=10 ; max num secs to wait before SIGKILL (default 10)
user=app
log_stdout=false
log_stderr=false
# cat /app/newgetui/getui_ad_api/current/run.sh
exec /usr/bin/java -cp getui-bi-service-ad-api-1.0.2.jar:./lib/* -Dcom.sun.management.jmxremote.port=19000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -server -Xms4096m -Xmx4096m -XX:MaxPermSize=500m -Xmn1500m -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:MaxTenuringThreshold=15 com.getui.axe.api.Main
supervisord配置
最新推荐文章于 2024-08-02 10:17:45 发布