debian-packages/packages/git/matrix-media-repo/materials/matrix-media-repo.service

18 lines
349 B
SYSTEMD
Raw Normal View History

2024-01-30 08:38:02 +00:00
[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