From 87f149aaef138f2399d02688d61d0534b5650f8e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 25 Aug 2020 21:17:00 -0700 Subject: include systemd unit file in debian package --- extra/es-public-proxy.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 extra/es-public-proxy.service (limited to 'extra/es-public-proxy.service') diff --git a/extra/es-public-proxy.service b/extra/es-public-proxy.service new file mode 100644 index 0000000..256212f --- /dev/null +++ b/extra/es-public-proxy.service @@ -0,0 +1,12 @@ +[Unit] +Description=Public-facing Elasticsearch Proxy +After=network.target + +[Service] +Environment="RUST_LOG=es_public_proxy=warn" +ExecStart=/usr/bin/es-public-proxy --config /etc/es-public-proxy.toml +User=nobody +Type=simple + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3