mirror of
https://git.envs.net/envs/matrix-conf.git
synced 2025-01-12 02:49:24 -05:00
17 lines
381 B
Desktop File
17 lines
381 B
Desktop File
[Unit]
|
|
Description=matrix-media-repo
|
|
After=network.target
|
|
Requires=postgresql@13-main.service
|
|
Requires=matrix-synapse.target
|
|
Requires=redis-server.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=matrix-media
|
|
WorkingDirectory=/opt/matrix-media-repo
|
|
ExecStart=/opt/matrix-media-repo/media_repo --config /etc/matrix-media-repo/media-repo.yaml
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|