18 lines
349 B
Desktop File
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
|