To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 6e5b73aa authored by Jack Henderson's avatar Jack Henderson
Browse files

fix ptp restart issue

parent 9aa3e405
# /etc/sytsemd/system/ptpd.service.d/restart.conf
[Service]
RemainAfterExit=no
Restart=on-failure
RestartSec=5s
PIDFile=/var/run/ptpd2.lock
Type=forking
#!/bin/sh
FILE=/var/run/ptpd2.lock
if test -f "$FILE"; then
echo "PTP is already running"
else
sudo ptpd --foreground -c $(rospack find ptp_monitor)/ptp_conf/slave.conf
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment