Brad Bishop | 0a81db0 | 2016-08-30 00:46:40 -0400 | [diff] [blame] | 1 | [Unit] |
2 | Description=Phosphor Webserver | ||||
3 | PartOf=systemd-networkd.service | ||||
4 | After=obmc-webserver-pre.target | ||||
5 | |||||
6 | [Service] | ||||
7 | Restart=always | ||||
8 | ExecStart={sbindir}/phosphor-rocket $APPLICATION | ||||
9 | Environment="PYTHONUNBUFFERED=1" | ||||
10 | EnvironmentFile={envfiledir}/obmc/wsgi_app | ||||
11 | |||||
12 | [Install] | ||||
13 | WantedBy={SYSTEMD_DEFAULT_TARGET} |