mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
17 lines
640 B
Desktop File
17 lines
640 B
Desktop File
[Unit]
|
|
Description=Synapse Matrix homeserver
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=matrix-__APP__
|
|
WorkingDirectory=/opt/yunohost/matrix-__APP__
|
|
EnvironmentFile=/etc/default/matrix-__APP__
|
|
ExecStartPre=/opt/yunohost/matrix-__APP__/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-__APP__/homeserver.yaml --config-path=/etc/matrix-__APP__/conf.d/ --generate-keys
|
|
ExecStart=/opt/yunohost/matrix-__APP__/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-__APP__/homeserver.yaml --config-path=/etc/matrix-__APP__/conf.d/
|
|
Restart=always
|
|
RestartSec=3
|
|
RuntimeDirectory=%i
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|