How to control and setup service?

Allan Jude allanjude at freebsd.org
Fri Aug 28 16:04:57 UTC 2015


On 2015-08-28 12:03, Pavel Timofeev wrote:
> One more idea is to have a key that would delete from rc config file any
> other rcopts which are not being set by tool when user run it.
> Like delete all of already defined rcopts and then set only requested
> rcopts.

That is a big vague.

If I understand correctly, you are saying, if you 'service mysql
disable', you want it to delete mysql_datadir= ?

I am not sure I like that. There is no harm in having the leftover
variables left in place, and there is harm if you remove stuff people
were expecting to keep around (if I say, disable the sql server before
upgrading, and I don't want it to restart until I am sure my upgrade and
3 reboots have all gone successfully)

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150828/31595367/attachment.bin>


More information about the freebsd-hackers mailing list