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.03.0"}
  "lwt" {>= "2.5" & < "4.0.0"}
  "ppx_deriving_yojson" {>= "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/release-0.3.0.tar.gz"
  checksum: "md5=b8b982c83dd18f4f2ac89bce00caab89"
}
