- add nginx module to manage reverse proxy on host level - add puppetboard venv - add gunicorn instance - add script to start the gunicorn instance - add nginx vhost
13 lines
284 B
Plaintext
13 lines
284 B
Plaintext
[Unit]
|
|
Description=puppetboard daemon
|
|
After=network.target
|
|
[Service]
|
|
Type=simple
|
|
User=<%= @user %>
|
|
Group=<%= @group %>
|
|
Environment="PUPPETBOARD_SETTINGS=<%= @settings_file %>"
|
|
ExecStart=<%= @virtualenv_dir %>/bin/start_puppetboard
|
|
PrivateTmp=true
|
|
[Install]
|
|
WantedBy=multi-user.target
|