Go-based dictionary backend providing word validation, definitions, synonyms, and cross-language translation for English, French, and Portuguese. Designed as a self-hosted replacement for Wordnik, backing GogoBee. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
474 B
Desktop File
26 lines
474 B
Desktop File
[Unit]
|
|
Description=DreamDict dictionary service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=dreamdict
|
|
Group=dreamdict
|
|
EnvironmentFile=/etc/dreamdict/dreamdict.env
|
|
ExecStart=/usr/local/bin/dreamdict server \
|
|
--host 127.0.0.1 \
|
|
--port 7777 \
|
|
--db /opt/dreamdict/dict.db
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
# Hardening
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/opt/dreamdict
|
|
ProtectHome=true
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|