add systemd services and handlers pipeline

This commit is contained in:
2026-01-30 12:20:34 +03:00
parent 056c12580d
commit dc7fd19022
22 changed files with 2875 additions and 3 deletions

14
systemd/can0-link.service Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=CAN0 Interface Setup (500kbps for OBD2)
After=network.target
Before=carpibord.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/ip link set can0 type can bitrate 500000
ExecStart=/sbin/ip link set can0 up
ExecStop=/sbin/ip link set can0 down
[Install]
WantedBy=multi-user.target