You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dataToDBs/dataToDBs.service

14 lines
289 B

1 year ago
[Unit]
Description=dataToDBs
[Service]
WorkingDirectory=/home/project/dataToDBs
PrivateTmp=true
Restart=always
Type=simple
ExecStart=/home/project/jdk1.8.0_261/bin/java -jar /home/project/dataToDBs/dataTo-DBs.jar
ExecStop=/usr/bin/kill -15 $MAINPID
[Install]
WantedBy=multi-user.target