Skip to content

Instantly share code, notes, and snippets.

@sebastianhaas
Created August 6, 2016 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastianhaas/516951fed03833e42f0bcf4c3db0a703 to your computer and use it in GitHub Desktop.
Save sebastianhaas/516951fed03833e42f0bcf4c3db0a703 to your computer and use it in GitHub Desktop.
An example systemd unit file to run can2udp on startup
[Unit]
Description=can2udp
After=multi-user.target socketcan-interface.service
Requires=socketcan-interface.service
[Service]
Type=simple
ExecStart=/home/pi/development/railroad/can2udp/src/can2udp -f -v
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment