[Pkg-ocaml-maint-commits] [SCM] marionnet packaging branch, master, updated. debian/0.90.6+bzr434-1-5-g9cf34d3

Lucas Nussbaum lucas at debian.org
Tue Jul 16 12:26:21 UTC 2013


The following commit has been merged in the master branch:
commit 9cf34d3863432ba6155f5303dd8084c7c6cf95b1
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Tue Jul 16 14:10:08 2013 +0200

    Add marionnet service file

diff --git a/debian/control b/debian/control
index 52b0817..8eb6185 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,8 @@ Build-Depends: debhelper (>= 8.0.0),
  ocaml-findlib,
  liblablgtk2-ocaml-dev (>= 2.12.0-2),
  libocamlbricks-ocaml-dev (>= 0.90+bzr367~),
- liblablgtksourceview2-ocaml-dev (>= 2.14.2)
+ liblablgtksourceview2-ocaml-dev (>= 2.14.2),
+ dh-systemd (>= 1.5)
 Standards-Version: 3.9.4
 Homepage: http://www.marionnet.org/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/marionnet.git
diff --git a/debian/marionnet.service b/debian/marionnet.service
new file mode 100644
index 0000000..8d5b6a2
--- /dev/null
+++ b/debian/marionnet.service
@@ -0,0 +1,4 @@
+[Service]
+Type=simple
+ExecStart=/usr/sbin/marionnet-daemon
+ExecStartPre=/usr/share/marionnet/marionnet-prestart-checks
diff --git a/debian/rules b/debian/rules
index 38e32b6..402078e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@ --with ocaml
+	dh $@ --with ocaml --with systemd
 
 override_dh_auto_build:
 	cp -f po/messages.pot po/messages.pot.orig

-- 
marionnet packaging



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