aboutsummaryrefslogtreecommitdiff
path: root/pi_configs/home/Spartan_Racing_Charger
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-05-16 02:37:31 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-05-16 02:37:31 -0700
commit0af4110f11b48ce2a14eb776c7b792b06165cd78 (patch)
tree189913b5f6cb30b9f5b231c69f50d116ff5fa3b5 /pi_configs/home/Spartan_Racing_Charger
parent30bdaa31851e96b302107aa5aeb481562d7983bc (diff)
pi_config mycan.service wrong dir, mistakenly put /home into /etc
Diffstat (limited to 'pi_configs/home/Spartan_Racing_Charger')
-rw-r--r--pi_configs/home/Spartan_Racing_Charger/.config/systemd/user/mycan.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/pi_configs/home/Spartan_Racing_Charger/.config/systemd/user/mycan.service b/pi_configs/home/Spartan_Racing_Charger/.config/systemd/user/mycan.service
new file mode 100644
index 0000000..1282f7d
--- /dev/null
+++ b/pi_configs/home/Spartan_Racing_Charger/.config/systemd/user/mycan.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Start mycan to process CAN
+After=can0.service
+
+[Service]
+Type=simple
+ExecStart=/usr/local/bin/mycan
+
+[Install]
+WantedBy=default.target
+