Ever reboot - proftpd config is restarted

Status
Not open for further replies.

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
Hi guys,
What I do wrong?
I do changes in the proftpd config by:
Code:
nano /usr/local/etc/proftpd.conf
/usr/local/etc/rc.d/proftpd restart


Those changes are ok, because it's working fine, but when I do reboot - all changes disapear.
I boot my nas from USB flash. Should I store changes somehow to usb before reboot?

Thanks in advance
BR
yacenty
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Configuration files are generated from the FreeNAS configuration database and are not expected to survive reboots, updates or anything really. Changes need to be made in the GUI. Or, as a hacky alternative for weird cases, applied by a startup script or something.
 

yacenty

Explorer
Joined
Apr 30, 2018
Messages
54
Thanks, corrected in GUI - works fine
 
Status
Not open for further replies.
Top