-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for socket Activation
Signed-off-by: Shubharanshu Mahapatra <[email protected]>
- Loading branch information
1 parent
65fbf5a
commit 8bfea07
Showing
6 changed files
with
57 additions
and
8 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Using finch-daemon with systemd | ||
|
||
|
||
# Configuring finch-daemon to support socket activation | ||
|
||
This guide provides instructions for setting up and using socket activation for the Finch Daemon with systemd. | ||
|
||
### Configure Socket and Service Files | ||
|
||
Add the following configuration files to systemd: | ||
|
||
### Socket Configuration | ||
|
||
Create the socket unit file at `/etc/systemd/system/finch.socket`. An example can be found in [finch-socket-activation.socket](./sample-service-files/finch-socket-activation.socket) | ||
|
||
### Service file Configuration | ||
|
||
Create the service unit file at /etc/systemd/system/finch.service. An example can be found in [finch-socket-activation.service](./sample-service-files/finch-socket-activation.service) | ||
|
||
|
||
### Enable the service | ||
|
||
sudo systemctl enable finch.socket finch.service | ||
sudo systemctl start finch.socket |
Empty file.
Empty file.
File renamed without changes.