We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cd /data/streama
This is useful when you update streama you can just update the link:
ln -s streama-[version].jar streama.jar
nano /etc/systemd/system/streama.service
In this file add the below, if your streama isn't in /data/streama change them.
/data/streama
[Unit] Description=streama After=syslog.target [Service] User=[USER TO RUN APP] ExecStart=/data/streama/streama.jar SuccessExitStatus=143 ConditionPathExists=/data/streama/streama.jar # end streama.service content [Install] WantedBy=multi-user.target
sudo systemctl enable streama.service sudo systemctl start streama.service