diff --git a/docs/_source/iaas_setup.rst b/docs/_source/iaas_setup.rst
index 78146698e1964a175366a44ba8a453405ed335cd..66729ef6288910f61a5e85763fa51b5d3b1b48f9 100644
--- a/docs/_source/iaas_setup.rst
+++ b/docs/_source/iaas_setup.rst
@@ -651,6 +651,7 @@ Once you have got airflow running from the command line, you will need to set it
 1: create a service file for airflow scheduler and webserver:
 
 sudo touch /etc/systemd/system/airflow-scheduler.service
+
 sudo touch /etc/systemd/system/airflow-webserver.service
 
 edit the contents of both files to be:
@@ -667,8 +668,10 @@ edit the contents of both files to be:
     Group=ewsmanager
     Type=simple
     ExecStart=/usr/bin/bash -c 'export AIRFLOW_HOME=/storage/airflow ; source  /storage/airflow/airflow-env/bin/activate ; airflow webserver'
-    Restart=no
+    Restart=on-failure
     RestartSec=5s
+    StartLimitIntervalSec=10s
+    StartLimitBurst=3
     PrivateTmp=true
     [Install]
     WantedBy=multi-user.target
@@ -685,8 +688,10 @@ edit the contents of both files to be:
     Group=ewsmanager
     Type=simple
     ExecStart=/usr/bin/bash -c 'export AIRFLOW_HOME=/storage/airflow ; source  /storage/airflow/airflow-env/bin/activate ; airflow scheduler'
-    Restart=no
+    Restart=on-failure
     RestartSec=5s
+    StartLimitIntervalSec=10s
+    StartLimitBurst=3
     PrivateTmp=true
     [Install]
     WantedBy=multi-user.target