Merge pull request #833 from bcwaldon/fleet-socket

Add fleet.socket
This commit is contained in:
Brian Waldon 2014-09-04 13:35:04 -07:00
commit 97e4554b08
4 changed files with 7 additions and 0 deletions

View File

@ -1,8 +1,12 @@
[Unit]
Description=fleet
Wants=etcd.service
After=etcd.service
Wants=fleet.socket
After=fleet.socket
[Service]
ExecStart=/usr/bin/fleet
Restart=always

View File

@ -0,0 +1,2 @@
[Socket]
ListenStream=/var/run/fleet.sock

View File

@ -34,4 +34,5 @@ src_install() {
dobin ${S}/bin/fleetctl
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_dounit "${FILESDIR}"/${PN}.socket
}