/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: Vasilii Chernov
  • Date: 2016-03-04 11:33:44 UTC
  • mto: This revision was merged to the branch mainline in revision 372.
  • Revision ID: vchernov@inr.ru-20160304113344-yhh657853ypdmpqk
Add python servers instalation step. Add systemd config files generation for python servers.

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_PY_SERVER_INSTALL_DIR}/pcilib_api_server.py -d $API_SERVER_DEVICE -m $API_SERVER_MODEL
 
10
 
 
11
[Install]
 
12
WantedBy=multi-user.target
 
13
 
 
14
 
 
15