-
-
Notifications
You must be signed in to change notification settings - Fork 502
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for httpd systemd socket activation
If a second socket is passed through systemd, assume it is meant for httpd use. Using it requires systemd units among the lines of: /lib/systemd/system/x11vnc.service == [Unit] Description=VNC server Requires=x11vnc.socket [Service] Type=simple ExecStart=/usr/bin/x11vnc -httpdir /usr/share/novnc -no6 -xkb -repeat -auth guess -display WAIT:0 -forever -shared == /lib/systemd/system/x11vnc.socket == [Unit] Description=VNC server socket [Socket] ListenStream=5900 ListenStream=80 [Install] WantedBy=sockets.target == systemctl enable --now x11vnc.socket Signed-off-by: Floris Bos <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters