-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data: Add ferryd.service and ferryd.socket files
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
- Loading branch information
1 parent
9054e3c
commit 6f32a89
Showing
2 changed files
with
21 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=ferryd repository management | ||
After=network.target | ||
|
||
[Service] | ||
Type=notify | ||
WorkingDirectory=/var/lib/ferryd | ||
ExecStart=/usr/bin/ferryd -d /var/lib/ferryd -s /run/ferryd.sock | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
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,10 @@ | ||
[Socket] | ||
Description=ferryd control socket | ||
|
||
[Socket] | ||
ListenStream=/run/ferryd.sock | ||
SocketUser=ferryd | ||
SocketGroup=ferryd | ||
|
||
[Install] | ||
WantedBy=sockets.target |