#1085 Mention _userunitdir in the systemd packaging guidelines
Merged by ngompa. Opened by troycurtisjr.
troycurtisjr/packaging-committee systemd-package-user-updates  into  master

Download 1085.patch

I recently tweaked a package where the service file was installed in system location for systemd, but it needed to be in the user directory. While looking around for the proper macro to use, I noted this guideline implies you can't use %{_userunitdir}, so here's a small tweak pointing out this important alternative.

Metadata Update from @tibbs:
- Pull-request tagged with: meeting

I think there's a copy-paste error here.

+%{_userunitdir}%+ evaluates to /usr/lib/systemd/system

This should be

+%{_userunitdir}%+ evaluates to /usr/lib/systemd/user

1 new commit added

  • Fix directory path for _userunitdir.

I think there's a copy-paste error here.

+%{_userunitdir}%+ evaluates to /usr/lib/systemd/system

This should be

+%{_userunitdir}%+ evaluates to /usr/lib/systemd/user

Good catch, that different path was the kinda the whole point! :laughing: Fixed.

Looks good to me now. Thanks!

I wonder, does pagure allow squashing commits before merging a PR?

No, @troycurtisjr needs to do it before we merge it.

rebased onto 2055309a6413e745de327ba128e634c6a57beb84

Squashed as requested.

rebased onto afd15961baa68af91800263c635a37558c8189ea

Pull-Request has been merged by ngompa

Merged, thanks!

Metadata