Create /etc/init/mwservice.conf with the content given below
Copy
Ask AI
start on startupstop on shutdown# Automatically respawn the service if it diesrespawnrespawn limit 5 60# Start the service by running the executable scriptscript exec bash /etc/mw-agent/apt/executableend script