diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-03-04 12:33:44 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-03-04 12:33:44 +0100 |
commit | 327b71b05b60a03e56fad618b51fbccd06c3776d (patch) | |
tree | 2b6a7208959e7abc4426075fcb807fa91cf4021a /misc/pcilib_html.service.in | |
parent | 4b4dc3c70ef19a29386c2b3e8284687851094eb9 (diff) | |
download | pcitool-327b71b05b60a03e56fad618b51fbccd06c3776d.tar.gz pcitool-327b71b05b60a03e56fad618b51fbccd06c3776d.tar.bz2 pcitool-327b71b05b60a03e56fad618b51fbccd06c3776d.tar.xz pcitool-327b71b05b60a03e56fad618b51fbccd06c3776d.zip |
Add python servers instalation step. Add systemd config files generation for python servers.
Diffstat (limited to 'misc/pcilib_html.service.in')
-rw-r--r-- | misc/pcilib_html.service.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/pcilib_html.service.in b/misc/pcilib_html.service.in new file mode 100644 index 0000000..634d9c7 --- /dev/null +++ b/misc/pcilib_html.service.in @@ -0,0 +1,14 @@ +[Unit] +Description=Pcilib Python html server +Wants=network.target nss-lookup.target +After=network.target nss-lookup.target +Requires=pcilib_api.service +After=pcilib_api.service + +[Service] +Type=simple +EnvironmentFile=/etc/sysconfig/pcilib +ExecStart=${PYTHON_EXECUTABLE} ${PCILIB_PY_SERVER_INSTALL_DIR}/pcilib_html_server.py -p $HTML_SERVER_PORT -e + +[Install] +WantedBy=multi-user.target |