[aur-general] TU application: Maxim Baz

Levente Polyak anthraxx at archlinux.org
Tue Nov 6 01:33:34 UTC 2018


On 11/6/18 2:22 AM, Eli Schwartz via aur-general wrote:
> On 11/5/18 7:05 PM, Maxim Baz via aur-general wrote:
>> Same question here, but actually worth confirming with you: is it a bad practice
>> to execute "systemctl daemon-reload" in post_install() function? I've seen people
>> do that, but so far I was refraining from executing any commands in .install files.
>>
>> Creating a wiki page that would only tell people to run "systemctl daemon-reload"
>> after installation sounds wrong...
> 
> It's pretty wrong to execute this, mostly because the systemd package
> installs a universal hook to do so and it's therefore outdated bloat to
> do so.
> 
> This is, after all, why we developed hooks for pacman. :)
> 
> It was originally added in March of this year:
> https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/systemd&id=c2ba1fefa6e393e5cb4d2c19ba65a4ec4c33fb9f
> 


Ah, somehow wasn't really aware that we also do this for
daemon-reload... well then, mv my previous paragraph about this to
/dev/null :P

cheers,
Levente

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20181106/7dc10c61/attachment.asc>


More information about the aur-general mailing list