Skip to content

Commit 814c418

Browse files
Merge branch 'improve-restart-mq47'
2 parents e69b6bf + 8ec6d67 commit 814c418

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

DEVELOPMENT.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,14 @@ systemctl --user enable vibora-dev
161161

162162
### First Start
163163

164-
The service automatically builds Vibora on start, so just run:
164+
The service automatically stops any existing Vibora instance and builds before starting, so just run:
165165

166166
```bash
167167
systemctl --user start vibora-dev
168168
```
169169

170+
This is safe to run even if Vibora is already running via `mise run up` - the service will stop it first.
171+
170172
### Manual Operations
171173

172174
```bash

vibora-dev.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ WorkingDirectory=%h/projects/vibora
88
Environment=VIBORA_DEVELOPER=1
99
Environment=NODE_ENV=production
1010
Environment=PATH=%h/.local/bin:%h/.local/share/mise/shims:/usr/local/bin:/usr/bin:/bin
11+
ExecStartPre=/bin/bash -c 'cd %h/projects/vibora && mise run down || true'
1112
ExecStartPre=/bin/bash -c 'cd %h/projects/vibora && mise run build'
1213
ExecStartPre=/bin/bash -c 'cd %h/projects/vibora && bun run drizzle-kit push'
1314
ExecStart=/bin/bash -c 'cd %h/projects/vibora && bun server/index.ts'

0 commit comments

Comments
 (0)