28 lines
544 B
Plaintext
28 lines
544 B
Plaintext
|
[Unit]
|
||
|
Description=Paperless-ngx Tika
|
||
|
|
||
|
[Container]
|
||
|
ContainerName=paperless-ngx-tika
|
||
|
Image=ghcr.io/paperless-ngx/tika:latest
|
||
|
|
||
|
Network=paperless.network
|
||
|
|
||
|
NoNewPrivileges=true
|
||
|
DropCapability=All
|
||
|
|
||
|
#UserNS=keep-id
|
||
|
# Required to access the Podman Socket
|
||
|
#SecurityLabelDisable=true
|
||
|
PodmanArgs=--userns=keep-id --security-opt label=disable
|
||
|
|
||
|
[Service]
|
||
|
Restart=on-failure
|
||
|
# Restart Delay
|
||
|
RestartSec=30
|
||
|
# Allowed time for the service to start.
|
||
|
TimeoutStartSec=90
|
||
|
# Allowed time for the service to stop.
|
||
|
TimeoutStopSec=90
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|