T o n g <mlist4sunt...@yahoo.com> writes: > --- a/src/Makefile > +++ b/src/Makefile > @@ -8,6 +8,12 @@ docdir = ${prefix}/share/doc/dbab > bindir = ${exec_prefix}/sbin > etcdir = ${DESTDIR}/etc > astdir = ${etcdir}/dbab > +ssddir = ${etcdir}/systemd
You should install into /lib/systemd/system, not /etc/systemd. (It's always /lib, even if your prefix is /usr.) I think that's the cause of the Lintian message about a missing systemd unit file. > @@ -23,12 +29,14 @@ install: > $(INSTALL) -m 755 -d $(etcdir) > $(INSTALL) -m 755 -d $(etcdir)/init.d > $(INSTALL) -m 755 -d $(astdir) > + $(INSTALL) -m 755 -d $(ssddir) Mode 644 for the service file. > for the purpose of adding that single systemd configuration file, > - do I need to add the dh-systemd to Build-Depends > and use `dh $@ --parallel --with systemd`? You want --with systemd and the dh-systemd dependency, since that takes care of activating your systemd unit file. --parallel is up to you and depends on whether your package supports parallel build. (It's unrelated to systemd support.) -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87bnn5erma....@hope.eyrie.org