Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
3k views

How to deploy a Java application

I made java application that's supposed to be executed as daemon. I am using an Amazon Linux AMI, which uses SysVinit and I already have an init script for my daemon, I am just a bit confused on where ...
mFeinstein's user avatar
1 vote
1 answer
2k views

FreeBSD - run .jar as daemon, service XX status returns 'not running'

I'd like to run a jar as a daemon on FreeBSD 11.0-RELEASE-p8. This is the service file which I have: !/bin/sh ## Service for the camp web site. # PROVIDE: tabor-web # REQUIRE: SERVERS mysql-server ...
eMko's user avatar
  • 121
12 votes
1 answer
18k views

configure java daemon with systemd

I'm using this definition for a systemd job: [Unit] Description=Some job [Service] ExecStart=/usr/local/sbin/somejob User=dlt Type=forking [Install] WantedBy=multi-user.target The script is ...
lash's user avatar
  • 811
1 vote
1 answer
2k views

How do I use daemonize to always keep my tomcat process running?

I was researching how to keep a background process running and I came across daemonize. This answer says that I can use daemonize to ensure a process is always running: "Ensure a process is always ...
joseph's user avatar
  • 111
1 vote
1 answer
273 views

Jar on Raspberry Pi not responding after a long time

Hello I made a java program with friend that is designed to run 24/7 as a personal assistant on a headless Raspberry Pi. It basically can be used as an alarm and to tell us the weather or news etc. So ...
jundl77's user avatar
  • 111
7 votes
4 answers
4k views

Is there a JVM daemon?

I'm curious, is there a JVM which runs as an OS daemon, and forks when a new process should be started in it ( i.e. like init, or zygote process on Android )? If no, why not? I am not talking about a ...
zacsek's user avatar
  • 173
1 vote
2 answers
2k views

How to log the output of a daemon application?

I have a Java program running as a daemon (thanks to YAJSW, a wrapper for java). The thing is that this java application writes several lines of console text, (simply imagine a Hello World App). If I ...
Hernán Eche's user avatar