mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-05 05:40:02 +08:00
added systemd service file, resolves #366
This commit is contained in:
15
api/nginx/config/systemd_system/blockstack_api.service
Normal file
15
api/nginx/config/systemd_system/blockstack_api.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=uWSGI instance to serve Blockstack API
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=muneeb
|
||||
Group=www-data
|
||||
WorkingDirectory=/home/muneeb/blockstack-core/api/nginx
|
||||
Environment="PATH=/home/muneeb/bin"
|
||||
Environment="PYTHONPATH=/usr/local/python"
|
||||
Environment="BLOCKSTACK_DEBUG=1"
|
||||
ExecStart=/usr/local/bin/uwsgi --ini /home/muneeb/blockstack-core/api/nginx/blockstack_api.ini
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user