Persistence
The persistence APK enables modification of core /etc files.
Note
Installing this package is optional, but recommended, especially for managing the Docker logs and /etc/hosts
Installation
Download the APK from https://asustor.cappysan.dev/persistence/
Usage
The following files from /share/Configuration/persistence can be edited:
hosts: All files in a /share/Configuration/*/persist.d/etc/hosts, notice the wildcard, will be appended to the default/etc/hostsresolv.conf: If this file exists, then it will replace the default file. This enables adding “search” lines. A sample file calledresolv.sample.confexists in the folder.docker/daemon.json: This file enables configuring the Docker daemon, and especially rotating the logs that Docker writes to.Restart the application, either through the Asustor web interface or via SSH using the following command: /share/Configuration/persistence/start-stop.sh restart