Friday, December 9, 2016

16.04 - How to configure to start my application at boot time

How to configure to start my application at boot time in Ubuntu 16.04



I am using following files to setup my application as a service.



/etc/init.d/myapp
/etc/systemd/systedm/myapp.service

/usr/local/myapp/myapp.sh


To start my application at boot time , I have used following command, but it throws error. How can I resolve this issue?



sudo update-rc.d paxata-server defaults 
insserv: script paxata-server is not an executable regular file, skipped!
insserv: warning: script 'hst' missing LSB tags and overrides

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...