System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
어떤 이에게는 systemctl 을 이용하면, 기존 서비스 뿐 아니라, 자동 시작되게 서비스를 등록할 수 도 있고, 시작,중지 등을 쉽게 사용할 수 있는 장점이 있다.
난 python django Gunicorn , nginx 설정만 하려했는데....
1) 막아놓은 서비스를 다시 살려서 하든가. https://parkbrother.tistory.com/entry/WSL2-%EC%97%90%EC%84%9C-systemdsystemctl-%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95
2. service 명령어로 이용하면 되겠다.
service status nginx
요렇게
댓글