From bda31de224e971c24cc8cf984e1c5c79b52edc2a Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Thu, 14 May 2026 12:56:17 -0700 Subject: [PATCH] systemd unit for fan driver --- autofan.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 autofan.service diff --git a/autofan.service b/autofan.service new file mode 100644 index 0000000..c6005c8 --- /dev/null +++ b/autofan.service @@ -0,0 +1,12 @@ +[Unit] +Description=52Pi Pi fan expansion board Fan control service v1.0 +After=multi-user.target + +[Service] +Type=simple +RemainAfterExit=true +ExecStart=/usr/bin/python3 /opt/autofan/autofan.py + +[Install] +WantedBy=multi-user.target +