Script to create the Debian package for ehdtd-daemon.
I am not an expert in creating Debian packages. While this script works, it does not strictly adhere to Debian's standard packaging guidelines.
The ehdtd-daemon-debian-pkg is a Bash script designed to create a Debian package.
git clone https://github.com/rmalvarezkai/ehdtd-daemon-debian-pkgcd ehdtd-daemon-debian-pkg
bash make-debian-package.sh [DIST_CODENAME] # Default DIST_CODENAME is the output from lsb_release -s -c # Only tested for bullseye and bookworm- Copy the .deb package to the server where it will be installed.
- Execute the following command:
apt-get install /tmp/PATH_TO_DEB_FILE
- Stop the ehdtd-daemon service:
systemctl stop ehdtd-daemon.service
- Edit the configuration file /etc/ehdtd-daemon/ehdtd-daemon-config.yaml with the appropriate options.
- Edit the file /etc/default/ehdtd-daemon and change the variable ENABLE=no to ENABLE=yes.
- Start the ehdtd-daemon service:
systemctl start ehdtd-daemon.service
apt-get install /tmp/ehdtd-daemon_0.1.8-b1~Debian~bullseye_amd64.deb
systemctl stop ehdtd-daemon.service
nano /etc/ehdtd-daemon/ehdtd-daemon-config.yaml
rpl no yes /etc/default/ehdtd-daemon
systemctl start ehdtd-daemon.serviceAfter these steps, all data will be available in a PostgreSQL or MySQL database named ehdtd.