run zeronetavahi as root
This commit is contained in:
parent
17326a0cff
commit
730b8c32e3
|
@ -555,7 +555,7 @@ function mesh_zeronet {
|
|||
chroot "$rootdir" chown -R tracker:tracker $MESH_INSTALL_DIR/tracker
|
||||
|
||||
# publish regularly
|
||||
echo "* * * * * zeronet zeronetavahi > /dev/null" >> $rootdir/etc/crontab
|
||||
echo "* * * * * root zeronetavahi > /dev/null" >> $rootdir/etc/crontab
|
||||
|
||||
chroot "$rootdir" systemctl enable tracker.service
|
||||
chroot "$rootdir" systemctl enable zeronet.service
|
||||
|
|
|
@ -447,4 +447,6 @@ assemble_web_page ${MAIL_FILE} $ZERONET_INSTALL
|
|||
assemble_web_page ${FORUM_FILE} $ZERONET_INSTALL
|
||||
assemble_web_page ${TOX_USERS_FILE} $ZERONET_INSTALL
|
||||
|
||||
chown -R zeronet:zeronet $ZERONET_INSTALL
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue