Directory Structure
The predefined directory layout inside a serverlet.
Every serverlet has a predefined directory structure. All your data lives in the /srv/ directory. You have full user permissions to this directory, and itβs the only one where data is stored permanently β data outside this directory may not survive a restart.
/srv/bin/β location for your applicationsβ binary files/srv/config/β location for application configuration files/srv/dataβ location for application data/srv/logβ location for application logs/srv/serviceβ location for runit configuration files/srv/wwwβ location for your application
Itβs not a good idea to change this structure (delete or rename it) β doing so could break some applications. That said, youβre free to change the contents of the /srv/ directory however you like. No directories other than /srv/ and /tmp/ can be modified.
Full serverlet directory structure
/bin/, /boot/, /dev/, /etc/, /home/, /lib/, /lib32/, /lib64/, /libx32/, /media/, /mnt/, /opt/, /proc/, /root/, /run/, /sbin/, /srv/ (your directory), /srvlet/, /sys/, /tmp/ (directory for writing temporary data), /usr/, /var/
Last updated
