Page MenuHomePhabricator

packages should use 'pkg-config systemd' to determine systemd unit install destination path
Open, LowPublic


Currently systemd units for packages developed under the Whonix umbrella are located in lib/systemd/system (or etc/systemd/system). And installed by make install with the usual DESTDIR support. This works for Debian and perhaps Fedora based distributions, but is not 100% convention conform.

As per daemon(7), section Installing Systemd Service Files, Quote:

"At the build installation time (e.g. make install during package build), packages are recommended to install their systemd unit files in the directory returned by pkg-config systemd --variable=systemdsystemunitdir (for system services) or pkg-config systemd --variable=systemduserunitdir (for user services)."

Therefore, for better platform / porting support, we should



Event Timeline

Patrick created this task.May 20 2015, 6:33 PM
Patrick raised the priority of this task from to Low.
Patrick updated the task description. (Show Details)
Patrick set Impact to Normal.
Patrick added subscribers: Patrick, HulaHoop, nrgaway.