clever.service: pipe all errors to /tmp/clever.err (#176)

* clever.service: pipe all errors to /tmp/clever.err

* clever.service: run with Bash

* selfcheck: parse node errors and group them
This commit is contained in:
Oleg Kalachev
2019-09-05 20:45:00 +03:00
committed by GitHub
parent 91e1d3c8f3
commit fda030e539
3 changed files with 24 additions and 27 deletions

View File

@@ -5,8 +5,9 @@ After=network.target
[Service]
User=pi
ExecStart=/bin/sh -c ". /home/pi/catkin_ws/devel/setup.sh; \
ROS_HOSTNAME=`hostname`.local exec roslaunch clever clever.launch --wait --screen --skip-log-check"
ExecStart=/bin/bash -c ". /home/pi/catkin_ws/devel/setup.sh; \
ROS_HOSTNAME=`hostname`.local exec roslaunch clever clever.launch --wait --screen --skip-log-check \
2> >(tee /tmp/clever.err)"
[Install]
WantedBy=multi-user.target