installSocketCAN.sh aktualisiert
parent
e86f03d4f2
commit
9ad94cbea1
|
|
@ -26,12 +26,14 @@ mkdir -p build && cd build
|
|||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
|
||||
sudo cp libicsneo-socketcan-daemon /usr/sbin/
|
||||
|
||||
sudo echo << EOF > /etc/systemd/system/icsscand.service
|
||||
[Unit]
|
||||
Description=Intrepid Device Scanner
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/sven/icsscand/build/libicsneo-socketcan-daemon
|
||||
ExecStart=/usr/sbin/libicsneo-socketcan-daemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Reference in New Issue