kopia lustrzana https://github.com/ogre/pizero_tracker
22 wiersze
412 B
INI
22 wiersze
412 B
INI
|
|
# cp ./tracker.service /etc/systemd/system/
|
|
# systemctl enable tracker.service
|
|
# systemctl start tracker.service
|
|
# journalctl -u tracker
|
|
|
|
[Unit]
|
|
Description=piZero tracker
|
|
After=network.target
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=1
|
|
User=root
|
|
ExecStart=/boot/tracker --config /boot/tracker.cfg
|
|
WorkingDirectory=/boot
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|