Instead of using sudo systemctl start your_app use:
sudo /etc/init.d/your_app start
example:
sudo /etc/init.d/docker start ,
as of right now we do not have systemd in WSL 2.
example:
sudo /etc/init.d/chrony start
Code Example |
---|
Shell :: kubectl install on ubuntu |
Shell :: npm install custom registry |
Shell :: clone a given branch github |
Shell :: shell replace substring |
Shell :: install android repo |
Shell :: install jest |
Shell :: linux screen run jar |
Shell :: bash tee stdout and stderr |
Shell :: install deb linux ubuntu uninstall |
Shell :: delete heroku remote |
Shell :: install nomad |
Shell :: enable proxy in cmd |
Shell :: ssh no strict checking |
Shell :: how to trim log file linux |
Shell :: restart computer command linux |
Shell :: powershell alias |
Shell :: install tailwind expressjs |
Shell :: scp all files in directory |
Shell :: install cypress |
Shell :: bash get name of current script |
Shell :: pause in bash |
Shell :: how to unstage changes in git |
Shell :: clone using token github |
Shell :: generate pfx certificate |
Shell :: kali find devices on network |
Shell :: set email git |
Shell :: docker build name |
Shell :: how to stop cron job |
Shell :: give permission to user in ubuntu |
Shell :: bash get dir of file |