/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to misc/pcilib_html.service.in

  • Committer: Suren A. Chilingaryan
  • Date: 2016-03-04 18:30:43 UTC
  • mfrom: (346.1.39 pcitool)
  • Revision ID: csa@suren.me-20160304183043-mjf6xvyermjh5olg
Integrate last part of Python code from Vasiliy Chernov

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[Unit]
 
2
Description=Pcilib Python html server
 
3
Wants=network.target nss-lookup.target
 
4
After=network.target nss-lookup.target
 
5
Requires=pcilib_api.service
 
6
After=pcilib_api.service
 
7
 
 
8
[Service]
 
9
Type=simple
 
10
EnvironmentFile=/etc/sysconfig/pcilib
 
11
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
 
12
 
 
13
[Install]
 
14
WantedBy=multi-user.target