Initial local translation API with persistent projects and batch jobs
This commit is contained in:
commit
13492929c6
21 files changed
+1624
No files matched your search
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Local game translation API
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=translator
|
||||
Group=translator
|
||||
WorkingDirectory=/opt/local-translator
|
||||
EnvironmentFile=-/etc/local-translator.env
|
||||
ExecStart=/opt/local-translator/.venv/bin/python -m local_translator --config /opt/local-translator/config.toml
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
TimeoutStopSec=30
|
||||
UMask=0077
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/opt/local-translator/data
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user