2024-07-21 05:07:12 +00:00
|
|
|
[Unit]
|
|
|
|
Description=wenet_tx
|
|
|
|
After=basic.target
|
|
|
|
|
|
|
|
[Service]
|
2024-09-14 11:42:27 +00:00
|
|
|
# Update this path if the wenet files are not in the pi user's home directory!
|
|
|
|
ExecStart=/home/pi/wenet/start_tx.sh
|
2024-07-21 05:07:12 +00:00
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
|
|
|
# This one too!
|
|
|
|
WorkingDirectory=/home/pi/wenet/
|
|
|
|
|
|
|
|
# NOTE - Wenet unfortunately needs to be run at root, else we can't easily set the system time.
|
|
|
|
#User=pi
|
|
|
|
SyslogIdentifier=wenet_tx
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|