19 lines
471 B
Desktop File
19 lines
471 B
Desktop File
[Unit]
|
|
Description=Tesseract CT Log service for %i
|
|
ConditionFileExists=/ssd-vol0/logs/%i/data/.env
|
|
After=network.target
|
|
|
|
[Service]
|
|
# The %i here refers to the instance name, e.g., "lipase2025h2"
|
|
# This path should point to where your instance-specific .env files are located
|
|
EnvironmentFile=/ssd-vol0/logs/%i/data/.env
|
|
ExecStart=/home/ctlog/bin/tesseract-posix $TESSERACT_ARGS
|
|
User=ctlog
|
|
Group=ctlog
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|