Fix mesh crontab entries
This commit is contained in:
parent
195735cc51
commit
2a86dc2e72
|
@ -1673,8 +1673,8 @@ function install_zeronet {
|
||||||
chown -R tracker:tracker /opt/tracker
|
chown -R tracker:tracker /opt/tracker
|
||||||
|
|
||||||
# publish regularly
|
# publish regularly
|
||||||
if ! grep -Fxq "zeronetavahi" /etc/crontab; then
|
if ! grep -q "zeronetavahi" /etc/crontab; then
|
||||||
echo "* * * * * root zeronetavahi > /dev/null" >> /etc/crontab
|
echo "* * * * * root zeronetavahi > /dev/null" >> /etc/crontab
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl enable tracker.service
|
systemctl enable tracker.service
|
||||||
|
@ -8212,8 +8212,8 @@ function tox_avahi {
|
||||||
toxavahi
|
toxavahi
|
||||||
|
|
||||||
# publish regularly
|
# publish regularly
|
||||||
if ! grep -Fxq "toxavahi" /etc/crontab; then
|
if ! grep -q "toxavahi" /etc/crontab; then
|
||||||
echo "* * * * * root toxavahi > /dev/null" >> /etc/crontab
|
echo "* * * * * root toxavahi > /dev/null" >> /etc/crontab
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl restart avahi-daemon
|
systemctl restart avahi-daemon
|
||||||
|
|
Loading…
Reference in New Issue