Добавлен контур server-backup для shineup.me и регламент обновляемых бэкапов

This commit is contained in:
AidarKC
2026-06-01 13:05:54 +04:00
parent 17dc4981c6
commit 67f882b9bc
21 changed files with 1212 additions and 2 deletions
@@ -0,0 +1,25 @@
[Unit]
Description=agent-memory service
After=network-online.target
Wants=network-online.target
StartLimitIntervalSec=0
[Service]
Type=simple
User=player
Group=player
WorkingDirectory=/home/player/agent-memory
ExecStart=/usr/bin/java -jar /home/player/agent-memory/agent-gpt-memory.jar --spring.config.location=optional:file:/home/player/agent-memory/app.properties
Restart=always
RestartSec=3
TimeoutStopSec=20
KillMode=control-group
LimitNOFILE=65535
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=/home/player/agent-memory/data /home/player/agent-memory/logs
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,15 @@
[Unit]
Description=SHiNE Server
After=network.target
[Service]
Type=simple
User=player
Group=player
WorkingDirectory=/home/player/SHiNE/shine-server
ExecStart=/usr/bin/java -Dserver.1port=7070 -jar /home/player/SHiNE/shine-server/shine-server.jar
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target