Commit 57f685c9 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Initial commit

parents
all: haveged-service
tar xf haveged-1.9.2.tar.gz
cd haveged-1.9.2 && ./configure --prefix=/usr
$(MAKE) -C haveged-1.9.2
$(MAKE) -C haveged-1.9.2 check
$(MAKE) -C haveged-1.9.2 install
mkdir -pv /usr/share/doc/haveged-1.9.2
cd haveged-1.9.2 && cp -v README /usr/share/doc/haveged-1.9.2
@echo "$$HAVEGED_SERVICE" > /lib/systemd/system/haveged.service
systemctl enable haveged.service
rm -rf haveged-1.9.2
haveged-service:
define HAVEGED_SERVICE
[Unit]
Description=Entropy Harvesting Daemon
Documentation=man:haveged(8)
[Service]
Type=forking
ExecStart=/usr/sbin/haveged -w 1024 -v 1
PIDFile=/run/haveged.pid
[Install]
WantedBy=multi-user.target
endef
export HAVEGED_SERVICE
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment