summaryrefslogtreecommitdiffstats
path: root/misc/pcilib_api.service.in
blob: 297772b5bb483be5294a214c5fd876e3372c0f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Pcilib Python api server
Wants=network.target nss-lookup.target
After=network.target nss-lookup.target

[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/pcilib
ExecStart=${PYTHON_EXECUTABLE} ${PCILIB_SERVER_DIR}/pcilib_api_server.py -d SERVER_DEVICE -m $SERVER_MODEL -p $API_SERVER_PORT

[Install]
WantedBy=multi-user.target