[Pkg-ocaml-maint-commits] [approx] 14/16: add systemd service file (closes: #679991)

Eric Cooper ecc at cmu.edu
Mon Dec 9 15:44:04 UTC 2013


This is an automated email from the git hooks/post-receive script.

ecc-guest pushed a commit to branch upstream
in repository approx.

commit 323059ffc574dd870d162d45a81cbe25fd3dc04f
Author: Eric Cooper <ecc at cmu.edu>
Date:   Sun Dec 8 16:35:35 2013 -0500

    add systemd service file (closes: #679991)
---
 etc/approx.socket   | 10 ++++++++++
 etc/approx at .service |  8 ++++++++
 2 files changed, 18 insertions(+)

diff --git a/etc/approx.socket b/etc/approx.socket
new file mode 100644
index 0000000..69be833
--- /dev/null
+++ b/etc/approx.socket
@@ -0,0 +1,10 @@
+[Unit]
+Description=caching proxy server for Debian archive files
+Documentation=man:approx(8)
+
+[Socket]
+ListenStream=9999
+Accept=yes
+
+[Install]
+WantedBy=sockets.target
diff --git a/etc/approx at .service b/etc/approx at .service
new file mode 100644
index 0000000..597d51c
--- /dev/null
+++ b/etc/approx at .service
@@ -0,0 +1,8 @@
+[Unit]
+Description=caching proxy server for Debian archive files
+Documentation=man:approx(8)
+
+[Service]
+User=approx
+ExecStart=-/usr/sbin/approx
+StandardInput=socket

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/approx.git



More information about the Pkg-ocaml-maint-commits mailing list