seiichiro0185
Cadet
- Joined
- Apr 7, 2015
- Messages
- 6
Hi,
I'm a happy FreeNAS-User since some months, and so far everything seems to work quite well. I run a fully encrypted RAIDZ1-Pool off 4 drives.
I have set up sftp on the server, to give some users and my vserver access for backup purposes and stuff like that. The Users are all chrooted, so they can initially only see there home directory. To give them access to specific things I bind-mount (using nullfs) the required directories to their homedirs. I do this using a simple script that does all the mounts.
At the moment I have to run the script manually after unlocking the device, which is not ideal since it involves firing up a console manually and starting the script there (Also I tend to forget this step after reboot, making the backup scripts from my vserver fail etc..). So is there a way to start the script automatically once the pool is unlocked and ready, like its done with the services? Or is there a better way to approach this?
Thanks in advance for any advice.
I'm a happy FreeNAS-User since some months, and so far everything seems to work quite well. I run a fully encrypted RAIDZ1-Pool off 4 drives.
I have set up sftp on the server, to give some users and my vserver access for backup purposes and stuff like that. The Users are all chrooted, so they can initially only see there home directory. To give them access to specific things I bind-mount (using nullfs) the required directories to their homedirs. I do this using a simple script that does all the mounts.
At the moment I have to run the script manually after unlocking the device, which is not ideal since it involves firing up a console manually and starting the script there (Also I tend to forget this step after reboot, making the backup scripts from my vserver fail etc..). So is there a way to start the script automatically once the pool is unlocked and ready, like its done with the services? Or is there a better way to approach this?
Thanks in advance for any advice.