diff options
Diffstat (limited to 'packaging/systemd/meshbay-hub.service')
| -rw-r--r-- | packaging/systemd/meshbay-hub.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/systemd/meshbay-hub.service b/packaging/systemd/meshbay-hub.service index 2bea8ea..40cdb98 100644 --- a/packaging/systemd/meshbay-hub.service +++ b/packaging/systemd/meshbay-hub.service @@ -16,8 +16,8 @@ EnvironmentFile=-/etc/meshbay/hub.env Environment=MESHBAY_DATABASE_URL=postgresql+asyncpg://meshbay:CHANGEME@localhost/meshbay_hub Environment=MESHBAY_HUB_KEY=/etc/meshbay/hub_private.pem -ExecStartPre=/usr/bin/meshbay-hub-migrate -ExecStart=/usr/bin/meshbay-hub --config /etc/meshbay/hub.toml +ExecStartPre=/opt/meshbay-common/venv/bin/alembic -c /opt/meshbay-hub/migrations/alembic.ini upgrade head +ExecStart=/opt/meshbay-common/venv/bin/meshbay-hub --config /etc/meshbay/hub.toml Restart=always RestartSec=5 TimeoutStopSec=30 |