Skip to content
Snippets Groups Projects
Commit 54cf639e authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

"install" back again

parent f39821e7
No related branches found
No related tags found
No related merge requests found
install 0 → 100755
#! /bin/bash
# Rolf Niepraschk (Rolf.Niepraschk@ptb.de), 2019-03-11
# Vorbereitung und Start des relayServer-Prozesses.
R_PATH=/usr/local/share/relayServer/ # Pfad zu relayServer-Installation
dist=$(lsb_release -is | cut -d " " -f 1 | tr '[A-Z]' '[a-z]')
case "$dist" in
opensuse)
cp ${R_PATH}relayServer.service \
/usr/lib/systemd/system/relayServer.service
chown -R nobody:nobody ${R_PATH} ;;
ubuntu|raspbian|debian)
cp ${R_PATH}relayServer.service \
/lib/systemd/system/relayServer.service
chown -R nobody:nogroup ${R_PATH} ;;
esac
ln -sf ${R_PATH}vlLogging /usr/local/bin/vlLogging
systemctl daemon-reload
systemctl restart relayServer.service
systemctl enable relayServer.service
systemctl status relayServer.service
exit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment