Adds startup script for starting the POC automatically

This commit is contained in:
Patrick McDonagh
2017-02-15 12:29:10 -06:00
parent 321968bb5e
commit db8e190dd4
2 changed files with 13 additions and 0 deletions

11
poc.service.txt Normal file
View File

@@ -0,0 +1,11 @@
[Unit]
Description=Henry Pump POC program
After=syslog.target network.target
[Service]
WorkingDirectory=/home/root
Environment="HOME=/home/root"
ExecStart=/home/root/startup.sh
[Install]
WantedBy=multi-user.target

2
startup.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
java -cp .:/usr/lib/java/*:poc-java-all-1.0-SNAPSHOT.jar com.henrypump.poc.POC wellSetup.json surface_data.csv true