Re: How to package systemd user instance services?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On Sun, 2015-10-25 at 09:21 +0100, Tadej Janež wrote:
> But first I would like to ask for some help regarding these systemd
> macros.
>
> [...]
>
> Calling %systemd_user_post gives the following error:
> [vagrant@localhost ~]$ rpm --eval '%systemd_user_post bup-web'
> systemd_post: invalid option -- '-'
> error: Unknown option - in systemd_post()
> 
> if [ $1 -eq 1 ] ; then 
>         # Initial installation 
>         systemctl preset bup-web >/dev/null 2>&1 || : 
> fi 
> 
> [...]
>
> Any ideas what's going on here and how to make it work?

FWIW, I've followed this up on the upstream rpm mailing list:
http://lists.rpm.org/pipermail/rpm-list/2015-November/001798.html

The resulting fix has been merged into systemd:
https://github.com/systemd/systemd/commit/e67ba783696f21782ad5c2ba00515d387016e785

Regards,
Tadej
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux