mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Add changes from #2069
This commit is contained in:
		| @@ -424,14 +424,18 @@ Python packages, for example. | |||||||
|  |  | ||||||
| To utilize this, mount a folder containing your scripts to the custom | To utilize this, mount a folder containing your scripts to the custom | ||||||
| initialization directory, [/custom-cont-init.d]{.title-ref} and place | initialization directory, [/custom-cont-init.d]{.title-ref} and place | ||||||
| scripts you wish to run inside. For security, the folder and its | scripts you wish to run inside. For security, the folder must be owned | ||||||
| contents must be owned by [root]{.title-ref}. Additionally, scripts must | by `root` and should have permissions of `a=rx`. Additionally, scripts | ||||||
| only be writable by [root]{.title-ref}. | must only be writable by `root`. | ||||||
|  |  | ||||||
| Your scripts will be run directly before the webserver completes | Your scripts will be run directly before the webserver completes | ||||||
| startup. Scripts will be run by the [root]{.title-ref} user. This is an | startup. Scripts will be run by the [root]{.title-ref} user. | ||||||
| advanced functionality with which you could break functionality or lose | If you would like to switch users, the utility `gosu` is available and | ||||||
| data. | preferred over `sudo`. | ||||||
|  |  | ||||||
|  | This is an advanced functionality with which you could break functionality | ||||||
|  | or lose data. If you experience issues, please disable any custom scripts | ||||||
|  | and try again before reporting an issue. | ||||||
|  |  | ||||||
| For example, using Docker Compose: | For example, using Docker Compose: | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon