summaryrefslogtreecommitdiffstats
path: root/misc/pcilib_html.service.in
blob: 7f03e7787ec5e0b3ada775b5876bf0b27783fec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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_SERVER_DIR}/pcilib_html_server.py -d $SERVER_DEVICE -m $SERVER_MODEL -p $HTML_SERVER_PORT -e --api-server-port $API_SERVER_PORT

[Install]
WantedBy=multi-user.target