1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
fedihub-ansible/roles/matrix/templates/static/matrix-static.service

20 lines
494 B
SYSTEMD

[Unit]
After=network.target
Description=Matrix Static
[Service]
Environment=PORT={{ matrix__static__port }}
ExecStart={{ matrix__static__opt_dir }}/bin/matrix-static --config-file {{ matrix__static__conf_file }}
Group={{ matrix__static__group }}
Restart=always
RestartSec=1
StandardOutput=syslog
StandatdError=syslog
SyslogIdentifier={{ matrix__static__service }}
Type=simple
User={{ matrix__static__user }}
WorkingDirectory={{ matrix__static__src_dir }}
[Install]
WantedBy=multi-user.target