debian-packages/packages/git/matrix-media-repo/materials/matrix-media-repo.service
leafee98 b962501d08
Some checks failed
ci/woodpecker/push/build Pipeline failed
add package matrix-media-repo
2024-01-30 16:39:47 +08:00

18 lines
349 B
Desktop File

[Unit]
Description=Matrix Media Repo
After=network.target
After=postgresql.service
[Service]
Type=simple
User=matrix-media-repo
Group=matrix-media-repo
ExecStart=/usr/lib/matrix-media-repo/media_repo -config /etc/matrix-media-repo/config.yaml
Restart=on-failure
RestartSec=5s
LimitNOFILE=65535
MemoryMax=1536M
[Install]
WantedBy=multi-user.target