All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/janus-gateway: Add systemd service file
@ 2022-04-09 23:06 Danilo
  2022-04-14 20:05 ` Arnout Vandecappelle
  2022-05-18 12:12 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Danilo @ 2022-04-09 23:06 UTC (permalink / raw)
  To: buildroot; +Cc: Gregory Dymarek


Signed-off-by: Danilo Bargen <mail@dbrgn.ch>
---
 package/janus-gateway/janus-gateway.mk      |  5 +++++
 package/janus-gateway/janus-gateway.service | 13 +++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 package/janus-gateway/janus-gateway.service

diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk
index 84ca0bc116..381843a0af 100644
--- a/package/janus-gateway/janus-gateway.mk
+++ b/package/janus-gateway/janus-gateway.mk
@@ -131,4 +131,9 @@ else
 JANUS_GATEWAY_CONF_OPTS += --disable-systemd-sockets
 endif

+define JANUS_GATEWAY_INSTALL_INIT_SYSTEMD
+	$(INSTALL) -D -m 644 package/janus-gateway/janus-gateway.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/janus-gateway.service
+endef
+
 $(eval $(autotools-package))
diff --git a/package/janus-gateway/janus-gateway.service b/package/janus-gateway/janus-gateway.service
new file mode 100644
index 0000000000..6e6bc7f017
--- /dev/null
+++ b/package/janus-gateway/janus-gateway.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Janus WebRTC Gateway
+Wants=network.target
+StartLimitIntervalSec=0
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/janus
+Restart=on-failure
+RestartSec=5
+
+[Install]
+WantedBy=multi-user.target
--
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/janus-gateway: Add systemd service file
  2022-04-09 23:06 [Buildroot] [PATCH 1/1] package/janus-gateway: Add systemd service file Danilo
@ 2022-04-14 20:05 ` Arnout Vandecappelle
  2022-05-18 12:12 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-14 20:05 UTC (permalink / raw)
  To: Danilo, buildroot; +Cc: Gregory Dymarek



On 10/04/2022 01:06, Danilo wrote:
> 
> Signed-off-by: Danilo Bargen <mail@dbrgn.ch>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/janus-gateway/janus-gateway.mk      |  5 +++++
>   package/janus-gateway/janus-gateway.service | 13 +++++++++++++
>   2 files changed, 18 insertions(+)
>   create mode 100644 package/janus-gateway/janus-gateway.service
> 
> diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk
> index 84ca0bc116..381843a0af 100644
> --- a/package/janus-gateway/janus-gateway.mk
> +++ b/package/janus-gateway/janus-gateway.mk
> @@ -131,4 +131,9 @@ else
>   JANUS_GATEWAY_CONF_OPTS += --disable-systemd-sockets
>   endif
> 
> +define JANUS_GATEWAY_INSTALL_INIT_SYSTEMD
> +	$(INSTALL) -D -m 644 package/janus-gateway/janus-gateway.service \
> +		$(TARGET_DIR)/usr/lib/systemd/system/janus-gateway.service
> +endef
> +
>   $(eval $(autotools-package))
> diff --git a/package/janus-gateway/janus-gateway.service b/package/janus-gateway/janus-gateway.service
> new file mode 100644
> index 0000000000..6e6bc7f017
> --- /dev/null
> +++ b/package/janus-gateway/janus-gateway.service
> @@ -0,0 +1,13 @@
> +[Unit]
> +Description=Janus WebRTC Gateway
> +Wants=network.target
> +StartLimitIntervalSec=0
> +
> +[Service]
> +Type=simple
> +ExecStart=/usr/bin/janus
> +Restart=on-failure
> +RestartSec=5
> +
> +[Install]
> +WantedBy=multi-user.target
> --
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/janus-gateway: Add systemd service file
  2022-04-09 23:06 [Buildroot] [PATCH 1/1] package/janus-gateway: Add systemd service file Danilo
  2022-04-14 20:05 ` Arnout Vandecappelle
@ 2022-05-18 12:12 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-18 12:12 UTC (permalink / raw)
  To: Danilo; +Cc: Gregory Dymarek, buildroot

>>>>> "Danilo" == Danilo  <mail@dbrgn.ch> writes:

 > Signed-off-by: Danilo Bargen <mail@dbrgn.ch>

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-18 12:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-09 23:06 [Buildroot] [PATCH 1/1] package/janus-gateway: Add systemd service file Danilo
2022-04-14 20:05 ` Arnout Vandecappelle
2022-05-18 12:12 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.