Page MenuHomePhabricator

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

Description

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

Details

Impact
Normal

Event Timeline

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.