add a systemd service file (taken from Arch)
authorRalf Jung <post@ralfj.de>
Thu, 12 Sep 2013 12:43:17 +0000 (14:43 +0200)
committerRalf Jung <post@ralfj.de>
Thu, 12 Sep 2013 12:53:31 +0000 (14:53 +0200)
debian/changelog
debian/control
debian/copyright
debian/osspd.install
debian/osspd.service [new file with mode: 0644]
debian/rules

index b0cb468a2c985dbd09ca01981c111055360277b9..fb667af23ce4c631e39e113c3acc6b59f815b884 100644 (file)
@@ -4,6 +4,7 @@ osspd (1.3.2-4) UNRELEASED; urgency=low
   * No longer symlink docs from dbg package (this simplifies
     packaging).
   * Manage the ossp slave via update-alternatives.
+  * Add a systemd service file (taken from Arch).
 
  -- Ralf Jung <post@ralfj.de>  Mon, 09 Sep 2013 18:29:12 +0200
 
index 3bfc32685c3fdb415d7f1436fa389e6d2b6453a9..1f1f2666b5db7853f27d2c7a9df195911f127cc5 100644 (file)
@@ -2,7 +2,11 @@ Source: osspd
 Section: sound
 Priority: optional
 Maintainer: Ralf Jung <post@ralfj.de>
-Build-Depends: debhelper (>= 9), libasound2-dev, libfuse-dev, libpulse-dev
+Build-Depends: debhelper (>= 9),
+               dh-systemd,
+               libasound2-dev,
+               libfuse-dev,
+               libpulse-dev
 Standards-Version: 3.9.4
 Homepage: http://sourceforge.net/projects/osspd/
 Vcs-Browser: http://www.ralfj.de/git/osspd.git
index 8f61f7caab80f344bd13ce3f143178c95e90723c..9ec24867c113623c53d347bfaff5d307f463d122 100644 (file)
@@ -9,9 +9,14 @@ Copyright: 2008-2010  SUSE Linux Products GmbH
 License: GPL-2
 
 Files: debian/*
-Copyright: 2012 Ralf Jung <post@ralfj.de>
+Copyright: 2012-2013 Ralf Jung <post@ralfj.de>
 License: GPL-2+
 
+Files: debian/osspd.service
+Copyright: 2013 Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+           2013 Ralf Jung <post@ralfj.de>
+License: GPL-2
+
 
 License: GPL-2
  This package is free software; you can redistribute it and/or modify
index 788b876a25a8a0e2351708f9f61b5fb1ae2ec96f..ff410bfd1073dd371fc756e516dd0cdd4310d991 100644 (file)
@@ -1,2 +1,2 @@
-usr/sbin/osspd 
 lib/udev/rules.d/98-osscuse.rules
+usr/sbin/osspd
diff --git a/debian/osspd.service b/debian/osspd.service
new file mode 100644 (file)
index 0000000..2b5b7bf
--- /dev/null
@@ -0,0 +1,8 @@
+[Unit]
+Description=OSS Proxy Daemon
+
+[Service]
+ExecStart=/usr/bin/osspd -f --dsp-slave=/usr/lib/osspd/ossp-slave
+
+[Install]
+WantedBy=multi-user.target
index 5bb1cf5097c36402c46f1dbb3591aeaa3c5f33e7..bbbb745dae566b069193df60dd025c2f66065f2f 100755 (executable)
@@ -4,7 +4,7 @@ SLAVESDIR=/usr/lib/osspd
 UDEVDIR=/lib/udev/rules.d
 
 %:
-       dh $@ --parallel
+       dh $@ --parallel --with=systemd
 
 override_dh_auto_build:
        dh_auto_build -- SLAVESDIR=$(SLAVESDIR) UDEVDIR=$(UDEVDIR)