Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renaming can0 to emuccan0 in systemd service. #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions emuccan.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ EnvironmentFile=/etc/default/emuccan
# emucd is hardcoded(!) to use /ttyACM[0-9] which is terrible, so we have
# created a udev rule to put it at /dev/ttyACM9 interface. This is
# terrible, but works for now.
ExecStart=/usr/bin/emucd_64 -s${EMUCCAN_SPEED} /dev/ttyACM9 can0 can1
ExecStartPost=/sbin/ip link set can0 up qlen 1000
ExecStartPost=/sbin/ip link set can1 up qlen 1000
ExecStart=/usr/bin/emucd_64 -s${EMUCCAN_SPEED} /dev/ttyACM9 emuccan0 emuccan1
ExecStartPost=/sbin/ip link set emuccan0 up qlen 1000
ExecStartPost=/sbin/ip link set emuccan1 up qlen 1000
ExecStop=/usr/bin/pkill -2 emucd_64
Restart=always
RestartSec=5
Expand Down