diff options
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest/phosphor-rest.service')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest/phosphor-rest.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest/phosphor-rest.service b/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest/phosphor-rest.service new file mode 100644 index 000000000..6b1c33d33 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest/phosphor-rest.service @@ -0,0 +1,13 @@ +[Unit] +Description=Phosphor DBus REST +Requires=obmc-mapper.target +After=obmc-mapper.target +PartOf=systemd-networkd.service + +[Service] +Restart=always +ExecStart={sbindir}/phosphor-rest +Environment="PYTHONUNBUFFERED=1" + +[Install] +WantedBy={SYSTEMD_DEFAULT_TARGET} |