diff options
Diffstat (limited to 'meta-ibm/recipes-phosphor/phosphor-gevent/phosphor-gevent/phosphor-gevent.service')
-rw-r--r-- | meta-ibm/recipes-phosphor/phosphor-gevent/phosphor-gevent/phosphor-gevent.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/phosphor-gevent/phosphor-gevent/phosphor-gevent.service b/meta-ibm/recipes-phosphor/phosphor-gevent/phosphor-gevent/phosphor-gevent.service new file mode 100644 index 0000000000..6b4e77ffe5 --- /dev/null +++ b/meta-ibm/recipes-phosphor/phosphor-gevent/phosphor-gevent/phosphor-gevent.service @@ -0,0 +1,11 @@ +[Unit] +Description=Phosphor REST Server +After=network.target +After=obmc-webserver-pre.target + +[Service] +Restart=always +ExecStart=/usr/bin/env phosphor-gevent $APPLICATION --no-ssl +SyslogIdentifier=phosphor-gevent +Environment="PYTHONUNBUFFERED=1" +EnvironmentFile={envfiledir}/obmc/wsgi_app |