Le 10/04/2012 21:12, Maarten Vanraes a écrit :
if [ $1 -eq 1 ]; then
   # Initial set
   # Enable (but don't start) the unit by default
   /bin/systemctl enable bumblebeed.service
fi

I don't think this stuff is needed on Mageia, that is done by default.

Really? I didnt knew about it, is there any page documenting that?
Im quite curious about how is done :)
just read the the add-service helper code, or alternatively the rpm-helper README file.

perhaps filetriggers or the post and preun service helpers do all this
automagically... i don't know, i usually just look at other packages.

i think a provided existing service file is picked up by filetriggers
No, that's handled by add-service helper here.

--
Any program will expand to fill available memory.
        -- Murphy's Laws of Computer Programming n°11

Reply via email to