This repository was archived by the owner on Dec 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-52
lines changed
Expand file tree Collapse file tree 1 file changed +1
-52
lines changed Original file line number Diff line number Diff line change 194194sudo zinit init
195195```
196196
197- If all is working correctly, you should see Zinit start and run your service.
198-
199- ## Upgrading Zinit
200-
201- To upgrade an existing Zinit installation:
202-
203- 1 . Stop any running Zinit instances (if not running as init)
204- 2 . Download or build the new version
205- 3 . Replace the existing binary:
206-
207- ``` bash
208- sudo cp new-zinit /usr/local/bin/zinit
209- ```
210-
211- 4 . Restart Zinit or reboot the system
212-
213- ## Troubleshooting Installation
214-
215- ### Common Issues
216-
217- #### Permission Denied
218-
219- If you get "permission denied" errors:
220-
221- ``` bash
222- sudo chmod +x /usr/local/bin/zinit
223- ```
224-
225- #### Missing Libraries
226-
227- If you encounter missing library errors when running the binary, ensure you built with musl for a statically linked binary:
228-
229- ``` bash
230- # Rebuild with musl
231- make
232- ```
233-
234- #### Socket Connection Issues
235-
236- If you can't connect to the Zinit socket:
237-
238- ``` bash
239- # Verify the socket exists
240- ls -la /var/run/zinit.sock
241-
242- # Check permissions
243- sudo chmod 755 /var/run/zinit.sock
244- ```
245-
246- ## Next Steps
247-
248- Once installed, refer to the [ Quickstart Guide] ( quickstart.md ) to begin using Zinit.
197+ If all is working correctly, you should see Zinit start and run your service.
You can’t perform that action at this time.
0 commit comments