This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jessie has moved away from sysvinit and onto systemd. Writing an init script to /etc/init.d/ is outdated, | |
and a bit tedious since you have to handle the start/stop/restart logic yourself (if you want those capabilities). | |
New Method: | |
1. Write a unit file for systemd. | |
$ sudo nano /etc/systemd/system/your_jar_software.service | |
[Unit] | |
Description=Example on starting a JAR with systemd |