I have Jar file to run in Linux using this command:

```
java -jar SyslogAgent_01.jar 192.168.2.154 1998 D:/apachelog.log ApacheLog 13

```

Can anyone let me know how to create script and implement this process automatically while we restart our computer? In windows we use services but how about linux?
Can u provide to me the script and step to do that since i am really new in Linux...

Linux : RHat, Ubuntu

Thanks