bundlewrap/bundles/matrix-media-repo/files/matrix-media-repo.service
Franziska Kunsmann d4b110087f
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/matrix-media-repo: introduce, add to htz.ex42-1048908
2021-02-12 16:01:35 +01:00

15 lines
355 B
Desktop File

[Unit]
Description=Matrix Media Repo
After=network.target
Requires=postgresql.service
[Service]
User=matrix-media-repo
Group=matrix-media-repo
ExecStart=/opt/matrix-media-repo/src/bin/media_repo -config /opt/matrix-media-repo/config.yaml
WorkingDirectory=/opt/matrix-media-repo/
Restart=on-failure
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target