diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-04 19:30:43 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-04 19:30:43 +0100 |
commit | c8b64cf87a3ff10abac92835c07b1dd76319f185 (patch) | |
tree | 0a86fd68612ab35cccec3567015c60633cb526f8 /misc/pcilib_api.service.in | |
parent | c38706b3c8bbaec638cc49745fd71dfb14df37e5 (diff) | |
parent | 327b71b05b60a03e56fad618b51fbccd06c3776d (diff) | |
download | pcitool-c8b64cf87a3ff10abac92835c07b1dd76319f185.tar.gz pcitool-c8b64cf87a3ff10abac92835c07b1dd76319f185.tar.bz2 pcitool-c8b64cf87a3ff10abac92835c07b1dd76319f185.tar.xz pcitool-c8b64cf87a3ff10abac92835c07b1dd76319f185.zip |
Integrate last part of Python code from Vasiliy Chernov
Diffstat (limited to 'misc/pcilib_api.service.in')
-rw-r--r-- | misc/pcilib_api.service.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/pcilib_api.service.in b/misc/pcilib_api.service.in new file mode 100644 index 0000000..297772b --- /dev/null +++ b/misc/pcilib_api.service.in @@ -0,0 +1,15 @@ +[Unit] +Description=Pcilib Python api server +Wants=network.target nss-lookup.target +After=network.target nss-lookup.target + +[Service] +Type=simple +EnvironmentFile=/etc/sysconfig/pcilib +ExecStart=${PYTHON_EXECUTABLE} ${PCILIB_SERVER_DIR}/pcilib_api_server.py -d SERVER_DEVICE -m $SERVER_MODEL -p $API_SERVER_PORT + +[Install] +WantedBy=multi-user.target + + + |