OSDN Git Service
(root)
/
avyssos
/
void-66-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b66592
)
New service earlyoom
author
linuxer
<linuxer@artixlinux.org>
Mon, 27 Sep 2021 13:40:03 +0000
(16:40 +0300)
committer
linuxer
<linuxer@artixlinux.org>
Mon, 27 Sep 2021 13:40:03 +0000
(16:40 +0300)
usr/share/66/service/earlyoom
[new file with mode: 0644]
patch
|
blob
diff --git a/usr/share/66/service/earlyoom
b/usr/share/66/service/earlyoom
new file mode 100644
(file)
index 0000000..
6865fbd
--- /dev/null
+++ b/
usr/share/66/service/earlyoom
@@ -0,0
+1,14
@@
+linuxer, [27.09.21 16:11]
+[main]
+@type = classic
+@version = 0.0.1
+@description = "earlyoom daemon service"
+@user = (root)
+
+[start]
+@execute = ( execl-cmdline -s { earlyoom ${cmd_args} } )
+
+[environment]
+# Using environmental variables here instead of the default config file (/etc/default/earlyoom)
+# Please consult the manual for more switches
+cmd_args=!-d -r 3600 -n --avoid '(^|/)(s6-svscan|Xorg|sshd)$'