HIN-Client

Siehe auch

Installation

VER1=1.5.3-50
VER2=1_5_3-50

cd /tmp
wget https://download.hin.ch/download/distribution/install/$VER1/HINClient_unix_$VER2.tar.gz
tar xvzf HINClient_unix_$VER2.tar.gz
mv 'HIN Client' /opt/hin-$VER1
ln -s /opt/hin-$VER1 /opt/hin

useradd hin
chown -R hin:hin /opt/hin\*
/home/hin/.hinclient-service-parameters.txt
keystore=/home/hin/identity.hin
passphrase=/home/hin/passphrase.txt

Die beiden oben genannten und von HIN gelieferten Dateien in /home/hin ablegen.

chown -R hin:hin /home/hin

Systemd Unit-File:

/etc/systemd/system/hinclient.service
[Unit]
Description=HIN Client
After=network.target

[Service]
Type=idle
Environment=
User=hin
Group=hin
WorkingDirectory=/opt/hin
ExecStart=/opt/hin/hinclientservice run
ExecStop=/opt/hin/hinclientservice stop
TimeoutStartSec=5
TimeoutStopSec=5
Restart=always

[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable --now hinclient

Built on 2022-12-06