- centos install java:
yum install java-1.8.0-openjdk-headless.x86_64
- package:
mvn clean package
- copy to remote server:
scp ./xxx.jar root@xxx:/home
- installation as System V:
ln -s /home/foo.jar /etc/init.d/foo
- start:
service foo start
- path:
- configuration file:
/home/foo.conf
RUN_ARGS="--spring.datasource.password= --spring.redis.password="
- log file:
/var/log/foo.log
- configuration file: