Merge "Use Type=notify in systemd units for services"
This commit is contained in:
commit
04ba5da52a
@ -2,7 +2,7 @@
|
|||||||
Description=Sushy Redfish Emulator
|
Description=Sushy Redfish Emulator
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=notify
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
ExecStart={{ bifrost_venv_dir }}/bin/gunicorn sushy_tools.emulator.main:app \
|
ExecStart={{ bifrost_venv_dir }}/bin/gunicorn sushy_tools.emulator.main:app \
|
||||||
--bind {{ redfish_emulator_host }}:{{ redfish_emulator_port }} \
|
--bind {{ redfish_emulator_host }}:{{ redfish_emulator_port }} \
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Description=Ironic Prometheus Exporter Flask App
|
Description=Ironic Prometheus Exporter Flask App
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=notify
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
ExecStart={{ bifrost_venv_dir }}/bin/gunicorn ironic_prometheus_exporter.app.wsgi:application \
|
ExecStart={{ bifrost_venv_dir }}/bin/gunicorn ironic_prometheus_exporter.app.wsgi:application \
|
||||||
--bind {{ prometheus_exporter_host }}:{{ prometheus_exporter_port}} \
|
--bind {{ prometheus_exporter_host }}:{{ prometheus_exporter_port}} \
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
Description={{ service_name }} service
|
Description={{ service_name }} service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=notify
|
||||||
ExecStart={{ service_path }}/{{ service_name }} --config-file {{ config_file }}
|
ExecStart={{ service_path }}/{{ service_name }} --config-file {{ config_file }}
|
||||||
User=ironic
|
User=ironic
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user