From nobody Mon Mar 7 15:03:27 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 227421A0F23D for ; Mon, 7 Mar 2022 15:03:29 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from mail.rail.eu.org (ice.rail.eu.org [176.9.10.153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KC1tS3FfVz3jtF for ; Mon, 7 Mar 2022 15:03:28 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from [10.40.32.56] (spiderman.pulsation.fr [80.74.64.33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: erwan) by mail.rail.eu.org (Postfix) with ESMTPSA id 845CA14AC0 for ; Mon, 7 Mar 2022 16:03:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rail.eu.org; s=mail; t=1646665407; bh=ivqsk0+pVnln43dL+V0cz2z81RGmyit9qjbCXRHFv+Y=; h=Date:Subject:To:References:From:In-Reply-To:From; b=fnxIlcnPt2XXgCpRAbirf0VeTvA2ZxeJk1P/aH1hhUfAJlksSAeuXJhGW/sLV3VS1 KQeDHTLMRSd9VYbDTmUpGt7Us11fE/nXpHrm/A6AlLGjgvjbBQbdi3wCtcPFLn7oYB BDYOvKafZXQNVY8wj5rooQ+Hqmf2T30XF2DWHul4= Message-ID: Date: Mon, 7 Mar 2022 16:03:27 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: @reboot Content-Language: fr To: questions@freebsd.org References: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> <9dd74923-d8e7-7093-7b8b-9ee1bbf6a29a@rail.eu.org> From: Erwan David In-Reply-To: <9dd74923-d8e7-7093-7b8b-9ee1bbf6a29a@rail.eu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4KC1tS3FfVz3jtF X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rail.eu.org header.s=mail header.b=fnxIlcnP; dmarc=pass (policy=none) header.from=rail.eu.org; spf=pass (mx1.freebsd.org: domain of erwan@rail.eu.org designates 176.9.10.153 as permitted sender) smtp.mailfrom=erwan@rail.eu.org X-Spamd-Result: default: False [-3.95 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rail.eu.org:s=mail]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.95)[-0.953]; DKIM_TRACE(0.00)[rail.eu.org:+]; DMARC_POLICY_ALLOW(-0.50)[rail.eu.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[questions]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:176.9.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Le 07/03/2022 à 15:53, Erwan David a écrit : > Le 23/10/2021 à 16:09, Jos Chrispijn a écrit : >> I have created a script to be runned afte reboot of my server. >> Thing is now that if I stop and start a service, the scripts is ran as >> well. >> Is there a way of only executing after a total reboot? >> >> thanks, Jos >> Sorry, I mixe"d with the debian mailing list. On FreeBSD I would create my own service, following https://docs.freebsd.org/en/books/handbook/config/