From nobody Sun Sep 12 16:26:34 2021 X-Original-To: erlang@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 9CFA817C217B for ; Sun, 12 Sep 2021 16:26:47 +0000 (UTC) (envelope-from michal.jakubik@zoho.com) Received: from sender4-op-o13.zoho.com (sender4-op-o13.zoho.com [136.143.188.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4H6w3p5Kv9z3lfw for ; Sun, 12 Sep 2021 16:26:46 +0000 (UTC) (envelope-from michal.jakubik@zoho.com) ARC-Seal: i=1; a=rsa-sha256; t=1631463996; cv=none; d=zohomail.com; s=zohoarc; b=eeZqUsRerf2np2vqzidxwFPqHHBgi1ZHSdSrFXQg0pqMH8seIontC2SHNVCqgLO20/uKKAg/0zlSqhqkrJ+KfcMM6bLliIf8PRhszstD8fjrLC6luqVaNydYJzyWdMZyDG/1D/t7qXZYlzadFsetPwy+IUvnwcSCl5D52aKiDuI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631463996; h=Content-Type:Date:From:MIME-Version:Message-ID:Reply-To:Subject:To; bh=YRuum1UhaVN3fFDvhNtZWiwmLUQvrET/FmPj8ldLRnw=; b=Q5rE2S9exDZCfrgFZxzUVwDlb1t2VwHsVqlD+v0+sNXmIRMQi5YN5rQ5a9dIgTU4boWTrFYI9xKLK+sC8gIXkfjPNPGsEKvUbd0eGrIhgXh7yQCmuluSrzzIX4Rn/if6mgpYH1OSSlSQvIW7DNufiuFdqe/KgN08v6+WGZMbkGA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=swiftsmsgateway.com; spf=pass smtp.mailfrom=michal.jakubik@zoho.com; dmarc=pass header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:reply-to:to:message-id:in-reply-to:subject:mime-version:content-type:user-agent; b=J9junPoPgjuDbDjuD6pD4twu7Hhta3exSF11cr6lZ9v+H8kRogqAacFQ0E6WyMZWBnMYefMNpetD BCHfrHhWFVb9bb3ZTqhoNmL1Uu8+5lFlxF6qhR8tTIDgoszUdvEh DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1631463996; s=zoho; d=swiftsmsgateway.com; i=mike.jakubik@swiftsmsgateway.com; h=Date:From:Reply-To:To:Message-Id:In-Reply-To:Subject:MIME-Version:Content-Type; bh=YRuum1UhaVN3fFDvhNtZWiwmLUQvrET/FmPj8ldLRnw=; b=PsTlaz1F4G7MDwHIXVgM/a/tykFNUE1iewMsQmm3gxBhwiKWY8RXrtY/8JEagpDA nZeISWDasr2N5StDKZQ1nNvJs9VMr1mA3G1RKqMP6oHKuhSkgL1YxuogX7H3ReCygfT ZyLK3JG8UqNA98rHT39yXxSjNgaFYD7EJu1ujPVg= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1631463995024901.2980678165516; Sun, 12 Sep 2021 09:26:35 -0700 (PDT) Date: Sun, 12 Sep 2021 12:26:34 -0400 From: Mike Jakubik Reply-To: mike.jakubik@swiftsmsgateway.com To: "erlang" Message-Id: <17bdad4f66b.ba53eff81041850.8710956708084381343@swiftsmsgateway.com> In-Reply-To: Subject: Sample rc.d script for Elixir apps List-Id: Support of Erlang-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-erlang List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-erlang@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3344358_857839573.1631463994987" Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Rspamd-Queue-Id: 4H6w3p5Kv9z3lfw X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=swiftsmsgateway.com header.s=zoho header.b=PsTlaz1F; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (mx1.freebsd.org: domain of michal.jakubik@zoho.com designates 136.143.188.13 as permitted sender) smtp.mailfrom=michal.jakubik@zoho.com X-Spamd-Result: default: False [-2.19 / 15.00]; HAS_REPLYTO(0.00)[mike.jakubik@swiftsmsgateway.com]; XM_UA_NO_VERSION(0.01)[]; R_SPF_ALLOW(-0.20)[+ip4:136.143.188.0/24]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[swiftsmsgateway.com:+]; FORGED_SENDER(0.30)[mike.jakubik@swiftsmsgateway.com,michal.jakubik@zoho.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_ALLOW(-1.00)[zohomail.com:s=zohoarc:i=1]; ASN(0.00)[asn:2639, ipnet:136.143.188.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[mike.jakubik@swiftsmsgateway.com,michal.jakubik@zoho.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEMAIL_ENVFROM(0.00)[zoho.com]; R_DKIM_ALLOW(-0.20)[swiftsmsgateway.com:s=zoho]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[swiftsmsgateway.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[136.143.188.13:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[136.143.188.13:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: Y ------=_Part_3344358_857839573.1631463994987 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I am looking for a simple rc.d script that i could use to start our Elixir = apps on boot up, something that root will run as defined user and basically= just run=C2=A0elixir --erl "-detached" -S mix phx.server and track PID. Thank You. Mike Jakubik https://www.swiftsmsgateway.com/ Disclaimer: This e-mail and any attachments are intended only for the use o= f the addressee(s) and may contain information that is privileged or confid= ential. If you are not the intended recipient, or responsible for deliverin= g the information to the intended recipient, you are hereby notified that a= ny dissemination, distribution, printing or copying of this e-mail and any = attachments is strictly prohibited. If this e-mail and any attachments were= received in error, please notify the sender by reply e-mail and delete the= original message. ------=_Part_3344358_857839573.1631463994987--