From d1193381ac19c59e49f0aa7ea771a8ad09a2562e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=BD=AE?= Date: Thu, 25 Sep 2025 09:40:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- local-voice.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 local-voice.service diff --git a/local-voice.service b/local-voice.service new file mode 100644 index 0000000..e5411db --- /dev/null +++ b/local-voice.service @@ -0,0 +1,17 @@ +[Unit] +Description=Local Voice Multiprocess Recorder with NFC +After=network.target +Wants=network.target + +[Service] +Type=simple +User=zhuchaowe +WorkingDirectory=/home/zhuchaowe +ExecStart=/usr/bin/python3 /home/zhuchaowe/Local-Voice/multiprocess_recorder.py --enable-nfc +Restart=always +RestartSec=10 +StandardOutput=journal +StandardError=journal + +[Install] +WantedBy=multi-user.target \ No newline at end of file