15 lines
355 B
SYSTEMD
15 lines
355 B
SYSTEMD
|
[Unit]
|
||
|
Description=matrix-registration
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=matrix-registration
|
||
|
Group=matrix-registration
|
||
|
WorkingDirectory=/opt/matrix-registration/src
|
||
|
ExecStart=/opt/matrix-registration/venv/bin/matrix-registration --config-path /opt/matrix-registration/config.yaml serve
|
||
|
Restart=always
|
||
|
RestartSec=5
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|