diff options
Diffstat (limited to 'misc/pcilib_html.service.in')
-rw-r--r-- | misc/pcilib_html.service.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/pcilib_html.service.in b/misc/pcilib_html.service.in new file mode 100644 index 0000000..634d9c7 --- /dev/null +++ b/misc/pcilib_html.service.in @@ -0,0 +1,14 @@ +[Unit] +Description=Pcilib Python html server +Wants=network.target nss-lookup.target +After=network.target nss-lookup.target +Requires=pcilib_api.service +After=pcilib_api.service + +[Service] +Type=simple +EnvironmentFile=/etc/sysconfig/pcilib +ExecStart=${PYTHON_EXECUTABLE} ${PCILIB_PY_SERVER_INSTALL_DIR}/pcilib_html_server.py -p $HTML_SERVER_PORT -e + +[Install] +WantedBy=multi-user.target |