/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_api.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 api server
 
3
Wants=network.target nss-lookup.target
 
4
After=network.target nss-lookup.target
 
5
 
 
6
[Service]
 
7
Type=simple
 
8
EnvironmentFile=/etc/sysconfig/pcilib
 
9
ExecStart=${PYTHON_EXECUTABLE} ${PCILIB_SERVER_DIR}/pcilib_api_server.py -d SERVER_DEVICE -m $SERVER_MODEL -p $API_SERVER_PORT
 
10
 
 
11
[Install]
 
12
WantedBy=multi-user.target
 
13
 
 
14
 
 
15