liptanbiswas commented on issue #2123: How to daemonize superset process
URL: 
https://github.com/apache/incubator-superset/issues/2123#issuecomment-366698493
 
 
   @pastarace change `/var/superset/superset/` with path to your Virtualenv. 
It's working I checked.
   
   ```
   [Unit]
   Description=Superset service 
   After=network.target
   
   [Service]
   Type=simple
   User=superset 
   Group=superset 
   Environment=PATH=/var/superset/superset/bin:$PATH
   Environment=PYTHONPATH=/var/superset/superset:$PYTHONPATH
   ExecStart=/var/superset/superset/bin/superset runserver
   
   [Install]
   WantedBy=multi-user.target
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to