|  | 
 |  | 
 | 
												
													
														| 424 |  	if [ -f $MESH_AMNESIC ]; then
 | 424 |  	if [ -f $MESH_AMNESIC ]; then
 | 
												
													
														| 425 |  		# change to the amnesic mount
 | 425 |  		# change to the amnesic mount
 | 
												
													
														| 426 |  		sed -i 's|/var/lib/tox-bootstrapd|/media/tox-bootstrapd|g' /etc/tox-bootstrapd.conf
 | 426 |  		sed -i 's|/var/lib/tox-bootstrapd|/media/tox-bootstrapd|g' /etc/tox-bootstrapd.conf
 | 
												
													
														|  | 
 | 427 | +		systemctl stop tox-bootstrapd.service
 | 
												
													
														|  | 
 | 428 | +		sed -i 's|WorkingDirectory=.*|WorkingDirectory=/media/tox-bootstrapd|g' /etc/systemd/system/tox-bootstrapd.service
 | 
												
													
														|  | 
 | 429 | +		systemctl daemon-reload
 | 
												
													
														|  | 
 | 430 | +		userdel -r tox-bootstrapd
 | 
												
													
														|  | 
 | 431 | +		useradd --home-dir /media/tox-bootstrapd --create-home --system --shell /sbin/nologin --comment "Account to run Tox's DHT bootstrap daemon" --user-group tox-bootstrapd
 | 
												
													
														|  | 
 | 432 | +		chmod 700 /media/tox-bootstrapd
 | 
												
													
														| 427 |  	fi
 | 433 |  	fi
 | 
												
													
														| 428 |  
 | 434 |  
 | 
												
													
														| 429 |  	echo $'Enabling toxcore daemon' >> $INSTALL_LOG
 | 435 |  	echo $'Enabling toxcore daemon' >> $INSTALL_LOG
 |