Skip to content

Commit

Permalink
service: add legiond-cpuset for OpenRC
Browse files Browse the repository at this point in the history
Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
  • Loading branch information
MrDuartePT committed Apr 5, 2024
1 parent c806931 commit ee77d2b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions extra/service/legiond-cpuset.initd
Original file line number Diff line number Diff line change
@@ -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"
7 changes: 7 additions & 0 deletions extra/service/legiond.initd
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit ee77d2b

Please sign in to comment.