김윤아

Category
아이템: 김윤아(6)
포스트 갯수7

NAS mount 후 systemctl 서비스 시작하기

By 토디의 시선 | 2020년 10월 13일 | 
/etc/systemd/system/was-D-API-BLG-A-01.service 설정 내용을 보면NAS 마운트 된 후에 apache, wildfly가 구동되도록 설정해 주는 작업이 필요하며 아래 내용에서 BOLD로 표기된 부분을 추가해주어야 한다. [Unit]Description=ebs-wildflyAfter=network.target syslog.target nas.mount nas_log.mount [Service]Type=forkingEnvironment="JAVA_HOME=/usr/lib/jvm/java-1.8.0" User=ebsGroup=ebs ExecStart=/data/servers/was/D-API-BLG/D-API-BLG-A-01/bin/start.shExecStop=/data/