dimanche 3 juillet 2016

Trying try get b4j program to run at startup

Hi all.

Trying to get my b4j app to run at startup. I have read and re-read ideas on the forum and just cannot get this script to work. I can type at the command line and start the program fine.

Code:
  nohup /home/jre1.8.0_91/bin/java -jar /home/cloud-kvs/CloudKvs_Server.jar > nohup.out &[]  
If I use this script and check the log I get 'Error: Unable to access jarfile /home/cloud-kvs/CloudKvs_Server.jar'

Any ideas?

Code:
  #!/bin/sh
### BEGIN INIT INFO
# Provides: Cloud KVS...
Trying try get b4j program to run at startup

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/29fffnt
via IFTTT

Aucun commentaire:

Enregistrer un commentaire