Skip to content

Commit

Permalink
data: Add ferryd.service and ferryd.socket files
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
  • Loading branch information
ikeydoherty committed Sep 21, 2017
1 parent 9054e3c commit 6f32a89
Showing 2 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions data/ferryd.service
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
10 changes: 10 additions & 0 deletions data/ferryd.socket
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

0 comments on commit 6f32a89

Please sign in to comment.