summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/earlyoom/files/earlyoom-r1')
-rw-r--r--sys-apps/earlyoom/files/earlyoom-r16
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/earlyoom/files/earlyoom-r1 b/sys-apps/earlyoom/files/earlyoom-r1
new file mode 100644
index 000000000000..124e5b0023fd
--- /dev/null
+++ b/sys-apps/earlyoom/files/earlyoom-r1
@@ -0,0 +1,6 @@
+#!/sbin/openrc-run
+name=earlyoom
+command=/usr/bin/earlyoom
+command_args="${EARLYOOM_ARGS}"
+command_background=1
+pidfile=/run/earlyoom.pid