File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -331,20 +331,22 @@ If the above systemd-sysext approach does not work for you, you can also test
331331changes with some bind mounts.
332332
333333To test changes to the login page, you can bind-mount the build tree's
334- ` dist/static/ ` directory over the system one:
334+ ` dist/ ` directory over the system one:
335335
336- sudo mount -o bind dist/static/ /usr/share/cockpit/static/
336+ sudo mount -o bind dist /usr/share/cockpit
337337
338338Likewise, to test changes to the branding, use:
339339
340340 sudo mount -o bind src/branding/ /usr/share/cockpit/branding/
341341
342+ Do ` mkdir dist/branding ` if you run both of these commands at the same time.
343+
342344After that, run ` systemctl stop cockpit.service ` to ensure that the web server
343345restarts on the next browser request.
344346
345347To make Cockpit use system-installed code again, umount the paths:
346348
347- sudo umount /usr/share/cockpit/static/ /usr/share/cockpit/branding/
349+ sudo umount /usr/share/cockpit /usr/share/cockpit/branding/
348350 systemctl stop cockpit.service
349351
350352Similarly, if you change ` cockpit-ws ` itself, you can make the system (systemd
You can’t perform that action at this time.
0 commit comments