Date: Wed, 30 Aug 2017 09:55:22 -0300 From: Cassiano Peixoto <peixotocassiano@gmail.com> To: Baptiste Daroussin <bapt@freebsd.org> Cc: Matthew Seaman <matthew@freebsd.org>, freebsd-stable@freebsd.org, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: pkg issue after FreeBSD 11 upgrade Message-ID: <CAJajdNXRx6S9xKgcouoPiWSjm_dBp5L0HZx8kW4iWPS7MpGCPw@mail.gmail.com> In-Reply-To: <20170830124855.ph5cca5pwjd2pphf@ivaldir.net> References: <CAJajdNUJGgcmvetRFNbtcpwBkzcyArMSg4F2bBELs=qHH1pB=w@mail.gmail.com> <4c16c960-3b4a-75ab-41ed-51c8109b940a@FreeBSD.org> <CAJajdNV1xLovnx-GRLPR-H4muFgxMCSQrqri4FagyfdtMTv3Ww@mail.gmail.com> <CAJajdNUOg_HMboH563=GSK1QzzcV0v_5WV3v8=Vj7Tk9Rvp32A@mail.gmail.com> <20170830124855.ph5cca5pwjd2pphf@ivaldir.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Baptiste, Why it used to work on FreeBSD 10? It stopped worked on FreeBSD 11 only. Cron is just an example, I manage more than 50 FreeBSD servers, and I've been using ports for years to update some configs and restart the service on all of them. Many times I need to change nginx config, ldap, etc. I just need to restart the service. Is there some flag to disable it? Or some hack that I could do? Thanks. On Wed, Aug 30, 2017 at 9:48 AM, Baptiste Daroussin <bapt@freebsd.org> wrote: > On Wed, Aug 30, 2017 at 09:00:55AM -0300, Cassiano Peixoto wrote: > > Hi Matthew, > > > > Sorry back to this subject. But I really need to restart services with a > > port. I'm quite sure there is a bug with pkg and FreeBSD 11. > > > > I made a simple port to restart cron service: > > It is not a bug, it is by design, pkg becomes the reaper of the scripts it > runs > and kills everything once the script is executed. > > btw if you install crontab in cron.d you do not need to restart the > service, > cron will figure out itself and reload what it needed. > > Bapt >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJajdNXRx6S9xKgcouoPiWSjm_dBp5L0HZx8kW4iWPS7MpGCPw>