title: Payara Server Start as a service
body: <p>I want payara server to run as a service. I logged to asadmin as sudo and used the create-service command. The following output is given.</p>
  <pre><code>The Service was created successfully. Here are the details:
  Name of the service:production
  Type of the service:Domain
  Configuration location of the service:/etc/init.d/payara_production
  User account that will run the service: root
  You have created the service but you need to start it yourself.  Here are the most typical Linux commands of interest:
  
  * /etc/init.d/payara_production start
  * /etc/init.d/payara_production stop
  * /etc/init.d/payara_production restart
  
  For your convenience this message has also been saved to this file: 
  /home/buddhika/payara/glassfish/domains/production/PlatformServices.log
  Command create-service executed successfully.
  </code></pre>
  <p>This create payara_production script in the /etc/init.d/ folder, yet once the computer is restarted, this script is not executed. I have to manually start payara to run it.</p>
  <p>What does it mean by &quot;You have created the service but you need to start it yourself&quot;, I had no similar issue with the versions of GlassFish I used earlier.</p>
  <p>How can I start Payara as a service?</p>