From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Don't auto-start a service in Shepherd Date: Sat, 24 Feb 2018 23:15:06 +0100 Message-ID: <87lgfiox05.fsf@gmail.com> References: <20180223102236.0aef2eac@mykolab.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epi68-0005Ct-Us for help-guix@gnu.org; Sat, 24 Feb 2018 17:15:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epi64-0002VQ-W7 for help-guix@gnu.org; Sat, 24 Feb 2018 17:15:16 -0500 Received: from mail-pl0-x22e.google.com ([2607:f8b0:400e:c01::22e]:40967) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epi64-0002VA-Op for help-guix@gnu.org; Sat, 24 Feb 2018 17:15:12 -0500 Received: by mail-pl0-x22e.google.com with SMTP id k8so7020474pli.8 for ; Sat, 24 Feb 2018 14:15:12 -0800 (PST) In-Reply-To: <20180223102236.0aef2eac@mykolab.com> (Rutger Helling's message of "Fri, 23 Feb 2018 10:22:36 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Rutger Helling Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Rutger Helling writes: > Hello Guix, > > Is there a way to prevent auto-starting a service in Shepherd? I find > that if I use "herd disable service" it still automatically starts the > service on a reboot/reconfigure. I do not know of a way, but perhaps somebody else does. What is your use case? I'm curious to know why you want to disable the service, but not remove it. For now, you might be able to accomplish what you want by doing this. Remove the service from your operating system configuration file, run "guix system reconfigure", and then reboot into the new system generation. Once you're done with whatever you're doing, you can permanently return to the previous system generation by running "guix system roll-back", followed by a reboot. Alternatively, you can re-introduce the service into your operating system configuration file, and "roll forward" by running "guix system reconfigure" again. Hope that helps! =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlqR4+oACgkQ3UCaFdgi Rp1kKBAAqpARjpHZJ7rVYLrtVz8q+mGsfVRd7rYIBaCrli6UlmRo9S9hM9Md62VG VR+88NoeJpwCNS5H0ikF+BgrmH9kfVNGDoNW1CwE+jiMFn621VEirPgfA9QYohuN FEPzfaH4ExjvJ3+Xes4L8CAARccvz7VTZAXDKAAzPlq48/Qd447K/nwDAZUvSlIG xKFmXwBbzXHas+kdcIHWEAiEewvAnj5G11oxDeSlLv24bgXm+hBBXDPp/u17+VUH qMEfnzV+1lTSVJHjvK6699Qfk22cZsjX7w6xUNimidDLJYVWf6Ip3cKbyY20KvqD eNSZjEZC0Ak5p+uKSDgJCx+I8tJijoW6f91cMBsJFs6OFsM/AV9TUS0tNdpLQ8QM DA6j0UztKeCoTm8PRToJqyhEUD6NyOdxjBMNxtSTSm9zP65SDxvcUaps48wsCPdt RsNIzifZkz6EyQxv6ZTyZjofvkTlw5/UyXqFX/U8uwMakjrz9qZVXC4NBQqD13P9 lG8XF26V6wDWxE/DRf1UokvaQw8jBhSFj6HaE2+PIsDoXCpmzuUvCl4Y6cs8fB69 64UsIUjY7nezFZDTxlA7IioaEswl3vOS52728zxbwA3JxbKbiq5rXTumPKqo5QUH odbzRq60+nRYtLZPO+a/aQpVACYTY5WSCbwgh5IcMAIEpy5yLqI= =2XV4 -----END PGP SIGNATURE----- --=-=-=--