Skip to content

Commit eb3b3ee

Browse files
author
gferraro
committed
set classifier service to restart only on failure
1 parent 1617db2 commit eb3b3ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tc2/thermal-recorder-py/thermal-classifier.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After=multi-user.target
55
[Service]
66
Type=simple
77
ExecStart=/home/pi/.venv/classifier/bin/serve_model
8-
Restart=always
8+
Restart=on-failure
99
RestartSec=3s
1010

1111
[Install]

0 commit comments

Comments
 (0)