From owner-freebsd-doc@FreeBSD.ORG Thu Jan 24 14:47:58 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7BB567E3 for ; Thu, 24 Jan 2013 14:47:58 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by mx1.freebsd.org (Postfix) with ESMTP id F2303CB0 for ; Thu, 24 Jan 2013 14:47:57 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id n8so5541331lbj.31 for ; Thu, 24 Jan 2013 06:47:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=1dMrr1sQrYBmFewHTYEt8zIXJwkS6B7zLM5GbkW/Kls=; b=MBnP2Rcjaeyf9PPN9+gcpdP7cIy3GeOuhbZRshzd94KTSle9Eg8xi+90VS35nUyxva qpgXJ4zn5m4HOnGBnhzlw+F45oC/UFZr5UqsmAheBu7zB2FWXUNMFz3ELNjTYUuJWKUI JA5MQBW1L3uryaE7TZ0BcWoUYwUR0Ls2HkVxo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=1dMrr1sQrYBmFewHTYEt8zIXJwkS6B7zLM5GbkW/Kls=; b=bcVZq+RS+GG4QzhPjSYKLV0xTZUPNsm/ISGQKpD91BPWf/QJvzqBKoYnuziteC3+kL EHhYZmKBnQoV8cy5Ccz4hdRgNWplacuzyWVkMHfJuOLMQON4Gt+vnUZbDPpJax1H6hje GCyjhZV5+/+jAw7xrkNDSSVo9Rjz1Q45JBeBziyTz8mfdnzpWaLD+fVQ/Lf7Uxm6Lv6z qONF6nQXiIGzRpTCWownV01KqfMdIZ5jUPbypM6zSJqmf7++wP8UPoQh2FUS6+34KQAf 0UXbjQlIeDzxmx+/CKSSa/rGmetvRTMydP7s7eK1lyZXN4IDmgVh3Z1ytjDy/cmmm5qZ cBKw== X-Received: by 10.112.17.194 with SMTP id q2mr927057lbd.7.1359038876519; Thu, 24 Jan 2013 06:47:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.100.164 with HTTP; Thu, 24 Jan 2013 06:47:26 -0800 (PST) In-Reply-To: <201301241452.26474.elias_chr@otenet.gr> References: <201301241452.26474.elias_chr@otenet.gr> From: Eitan Adler Date: Thu, 24 Jan 2013 09:47:26 -0500 Message-ID: Subject: Re: explicit use of /etc/rc.d vs service To: Elias Chrysocheris Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnJvm/etr5i9W2da3PIppGG5KURPSulnB7jHcsXWVeFOEAwl8aEhrEgoT8Tr1m5qFG5v//2 Cc: freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 14:47:58 -0000 On 24 January 2013 07:52, Elias Chrysocheris wrote: >>Sounds like a very good idea. I don't know how many times I have had >>problems with bad paths leaking into cron etc meaning it fails on reboot >>since something depended on the trained environment. (Service solves that.) > > Yes, but there are sometimes that service does not act as it should be. For > example, in my FreeBSD 9.1 (happened also in 8.x) service apache22 onerestart, > restarts apache22 but there something is missing... I do not have access to my > mercurial web interface. It returns an error. But when I > /usr/local/etc/rc.d/apache22 onerestart evrything works fine... This is a bug. Did you file a PR or mail -rc ? -- Eitan Adler