064b87b54f
The ara_web role is intended as a way to deploy and install the ara-web project in different ways. The commit also adds integration test jobs for the role. The integration job names and general layout will be cleaned up in a future patch. Change-Id: Ib59c455bb38f107fef3d5aca3dff42b6f7eac8a7
17 lines
449 B
Django/Jinja
17 lines
449 B
Django/Jinja
[Unit]
|
|
Description=ARA Records Ansible web client
|
|
After=network.target
|
|
|
|
[Service]
|
|
PIDFile=/run/ara-web/pid
|
|
User={{ ansible_user_id }}
|
|
RuntimeDirectory=ara-web
|
|
WorkingDirectory={{ ara_web_source_checkout }}
|
|
ExecStart=/usr/bin/npm start --host {{ ara_web_dev_server_bind_address }} --port {{ ara_web_dev_server_bind_port }}
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s TERM $MAINPID
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|