Michael Stapelberg wrote: > attached you can find a patch which adds support for systemd packaging > in dh_installinit, just like upstart is already supported. > > The patch installs systemd files to /etc/systemd/system/ (see the patch > for rationale) and tmpfiles to /usr/lib/tmpfiles.d. Additionally it > calls systemctl daemon-reload (to pick up service file changes) and > systemd-tmpfiles --create (to apply tmpfiles changes) on systems where > systemd is running.
This looks good. It would be nice if some of the code duplication in the autoscripts could be eliminated, but perhaps there is not a very good way to do that. The only questionable part seems to be the direct use of of /etc/systemd/system/. Is there a consensus that this is the right thing to do? I see symlinks being dropped in there by many packages currently. -- see shy jo
signature.asc
Description: Digital signature