Skip to content

Commit

Permalink
autorestart
Browse files Browse the repository at this point in the history
  • Loading branch information
8cH9azbsFifZ committed Jan 2, 2022
1 parent a564486 commit 5141e89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ble/moonboard_ble.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ WorkingDirectory=/home/pi/moonboard/ble/
ExecStart=/usr/bin/python3 /home/pi/moonboard/ble/moonboard_ble_service.py
Type=idle
User=root
Restart=on-failure
RestartSec=5s
StandardOutput=file:/var/log/moonboard_ble_stdout.log
StandardError=file:/var/log/moonboard_ble_stderr.log

Expand Down

0 comments on commit 5141e89

Please sign in to comment.