How to control and setup service?
Lars Engels
lars.engels at 0x20.net
Thu Aug 27 20:05:39 UTC 2015
On Thu, Aug 27, 2015 at 11:00:44AM -0400, Allan Jude wrote:
> On 2015-08-27 09:21, Pavel Timofeev wrote:
> > IMO such tools would be useful even for ansible/puppet and friends.
> > Not just for users ;)
> >
>
> Teaching service to use sysrc might be useful. Making sysrc detect that
> /etc/rc.conf.d/<service> exists, and use it, else fallback to
> /etc/rc.conf might also be nice.
>
> service mysql-server enable|disable
> sets mysql_enable="YES|NO"
> service mysql-server set datadir=/var/db/mysql
> sets mysql_datadir="/var/db/mysql"
There's already a patch in phabricator:
https://reviews.freebsd.org/D451
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150827/2da604b6/attachment.bin>
More information about the freebsd-hackers
mailing list