/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: 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 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_PY_SERVER_INSTALL_DIR}/pcilib_html_server.py -p $HTML_SERVER_PORT -e
 
12
 
 
13
[Install]
 
14
WantedBy=multi-user.target