OSDN Git Service

New service: rngd. rngd
authormobinmob <mobinmob@disroot.org>
Sun, 23 Oct 2022 16:16:38 +0000 (19:16 +0300)
committermobinmob <mobinmob@disroot.org>
Sun, 23 Oct 2022 16:19:19 +0000 (19:19 +0300)
usr/share/66/service/rngd [new file with mode: 0644]

diff --git a/usr/share/66/service/rngd b/usr/share/66/service/rngd
new file mode 100644 (file)
index 0000000..ca6fdad
--- /dev/null
@@ -0,0 +1,12 @@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "hw rng entropy gatherer daemon"
+@user = ( root )
+
+[start]
+@execute = ( execl-cmdline -s { rngd -f ${cmd_args} }  )
+
+[environment]
+# Using default arguments.
+cmd_args=!--random-device=/dev/random --rng-device=/dev/hwrng