Date: Sun, 24 Oct 2021 09:01:18 +0800 From: Erich Dollansky <freebsd.ed.lists@sumeritec.com> To: Jos Chrispijn <bsduser@cloudzeeland.nl> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: @reboot Message-ID: <20211024010118.51d58ca8.freebsd.ed.lists@sumeritec.com> In-Reply-To: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> References: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Sat, 23 Oct 2021 16:09:33 +0200 Jos Chrispijn <bsduser@cloudzeeland.nl> wrote: > 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 > you can also run the script as a service itself. It will require one entry in '/etc/rd.conf' to start it at boot time. You can then manually start the script if required. Erich
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211024010118.51d58ca8.freebsd.ed.lists>