Compare commits

...

3 Commits

Author SHA1 Message Date
Sven Bohner 663b7205ce installSocketCAN.sh aktualisiert 2024-02-11 21:05:36 +00:00
Sven Bohner 42e2ecbcd8 installSocketCAN.sh aktualisiert 2024-02-11 21:04:50 +00:00
Sven Bohner 9ad94cbea1 installSocketCAN.sh aktualisiert 2024-02-11 20:38:39 +00:00
1 changed files with 67 additions and 63 deletions

View File

@ -26,17 +26,21 @@ mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release .. cmake -DCMAKE_BUILD_TYPE=Release ..
make make
sudo echo << EOF > /etc/systemd/system/icsscand.service sudo cp libicsneo-socketcan-daemon /usr/sbin/
echo << EOF > icsscand.service
[Unit] [Unit]
Description=Intrepid Device Scanner Description=Intrepid Device Scanner
[Service] [Service]
ExecStart=/home/sven/icsscand/build/libicsneo-socketcan-daemon ExecStart=/usr/sbin/libicsneo-socketcan-daemon
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
sudo cp icsscand.service /etc/systemd/system/
sudo systemctl enable icsscand.service sudo systemctl enable icsscand.service
sudo systemctl start icsscand.service sudo systemctl start icsscand.service