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