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:
163e044
)
New service: mcelog.
author
mobinmob
<mobinmob@disroot.org>
Fri, 14 May 2021 15:12:28 +0000
(18:12 +0300)
committer
mobinmob
<mobinmob@disroot.org>
Fri, 14 May 2021 15:12:28 +0000
(18:12 +0300)
usr/share/66/service/mcelog
[new file with mode: 0644]
patch
|
blob
diff --git a/usr/share/66/service/mcelog
b/usr/share/66/service/mcelog
new file mode 100644
(file)
index 0000000..
3316694
--- /dev/null
+++ b/
usr/share/66/service/mcelog
@@ -0,0
+1,13
@@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "decode kernel machine check log"
+@user = ( root )
+
+[start]
+@execute = ( execl-cmdline -s { mcelog --daemon --foreground ${cmd_args} } )
+
+[environment]
+# To log on syslog replace the the --logfile with --syslog = yes. The voidlinux
+# service script uses the later. Please consult mcelog(8) for more options.
+cmd_args=!--logfile = /dev/stderr