From ee77d2bbed44a020995b5e8ed0717a98dd39ea6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Fri, 5 Apr 2024 13:06:51 +0100 Subject: [PATCH] service: add legiond-cpuset for OpenRC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gonçalo Negrier Duarte --- extra/service/legiond-cpuset.initd | 7 +++++++ extra/service/legiond.initd | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 extra/service/legiond-cpuset.initd create mode 100644 extra/service/legiond.initd diff --git a/extra/service/legiond-cpuset.initd b/extra/service/legiond-cpuset.initd new file mode 100644 index 0000000..853b2af --- /dev/null +++ b/extra/service/legiond-cpuset.initd @@ -0,0 +1,7 @@ +#!/sbin/openrc-run +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/sbin/legion-cpuset" +command_background=true +pidfile="/run/legiond.pid" diff --git a/extra/service/legiond.initd b/extra/service/legiond.initd new file mode 100644 index 0000000..29351a3 --- /dev/null +++ b/extra/service/legiond.initd @@ -0,0 +1,7 @@ +#!/sbin/openrc-run +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/legiond-ctl reload" +command_background=true +pidfile="/run/legiond.pid"