package
Version:
v0.6.2
Opens a new window with list of versions in this module.
Published: Sep 9, 2017
License: BSD-3-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
Experimental socket activated http server
To use systemd socket activation feature for zero downtime upgrade follow this guide:
-
copy the service definition unit file gwentapi.service
and the socket definition unit file gwentapi.socket
to /etc/systemd/system/
.
-
Copy the executable and the config file at the location defined by the service unit file: /usr/local/bin/
by default.
-
Rename the executable to gwentapi to match the filename in the service unit file.
-
Enable the socket and start it
systemctl enable gwentapi.socket
systemctl start gwentapi.socket
This experimental feature is only supported on Linux with systemd.
To upgrade the service
- Replace the executable
- Restart the service with systemctl
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.