opam-version: "2.0"
maintainer: "zoggy@bat8.org"
authors: ["Maxence Guesdon"]
homepage: "http://github.com/zoggy/ocaml-socket-daemon"

license: "GPL-3.0-only"

doc: ["http://github.com/zoggy/ocaml-socket-daemon"]
dev-repo: "git+https://github.com/zoggy/ocaml-socket-daemon.git"
bug-reports: "https://github.com/zoggy/ocaml-socket-daemon/issues"

tags: ["socket" "daemon" "unix"]

build: [
  [make "all"]
]

install: [
  [make "install"]
]

remove: [["ocamlfind" "remove" "socket-daemon"]]
depends: [
  "ocaml" {>= "4.02.2"}
  "lwt" {>= "2.5"}
  "ppx_deriving_yojson" {>= "2.4" & < "3.0"}
]
synopsis:
  "Create daemons listening to a socket for stop, restart, ..., orders"
description: """
Lwt-oriented library to make your server run as a daemon and
listen to a socket file. Provides a module to create the command-line
client which send commands (stop, restart, ...) to the server through
the socket."""
flags: light-uninstall
url {
  src: "https://github.com/zoggy/ocaml-socket-daemon/archive/0.2.0.tar.gz"
  checksum: "md5=5274441dd15c5abdca6b370cb5af15b9"
}
