Remove worker pidfiles, not needed as result of removing synchrotron-balancer

This commit is contained in:
uumas
2023-04-19 15:27:01 +03:00
parent 0f86bfbc02
commit e8696ea656
3 changed files with 10 additions and 17 deletions

View File

@@ -10,12 +10,10 @@ After=matrix-synapse.service
[Service]
Type=notify
NotifyAccess=main
PIDFile=/run/matrix-synapse/%i.pid
User=matrix-synapse
WorkingDirectory=/var/lib/matrix-synapse
EnvironmentFile=-/etc/default/matrix-synapse
ExecStart=/opt/venvs/matrix-synapse/bin/python -m synapse.app.generic_worker --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/ --config-path=/etc/matrix-synapse/workers/%i.yaml
ExecStartPost=/bin/sh -c "echo $MAINPID > /run/matrix-synapse/%i.pid"
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=3