File: detection_server.service

package info (click to toggle)
berrynet 3.10.2-2
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,572 kB
  • sloc: python: 6,286; javascript: 2,373; xml: 1,094; sh: 738; makefile: 33
file content (15 lines) | stat: -rw-r--r-- 309 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=detection server
After=network.target

[Service]
Type=simple
WorkingDirectory=/usr/local/berrynet/inference/darkflow
PIDFile=/tmp/detection_server.pid
ExecStart=/usr/bin/python detection_server.py
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target
WantedBy=graphical.target