397689d2f3
- Added a new `.env.lite.example` file for the Lite version, providing a minimal configuration template. - Updated `.env.example` to remove deprecated variables and include new Docreader settings. - Enhanced Docker configurations to support the Lite version, including a new Dockerfile for the Docreader service. - Introduced a Makefile target for building and running the Lite version, along with packaging capabilities. - Created GitHub workflows for building and releasing Lite binaries, including Homebrew formula support. - Implemented a new service file for managing the Lite version as a system service. This update enables a streamlined, single-binary deployment of WeKnora, reducing external dependencies and simplifying setup.
24 lines
445 B
Desktop File
24 lines
445 B
Desktop File
[Unit]
|
|
Description=WeKnora Lite - Knowledge Base Management System
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=weknora
|
|
Group=weknora
|
|
WorkingDirectory=/opt/weknora
|
|
EnvironmentFile=/opt/weknora/.env.lite
|
|
ExecStart=/opt/weknora/WeKnora-lite
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
LimitNOFILE=65536
|
|
|
|
# Security hardening
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/opt/weknora/data
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|