DEV Community

Discussion on: WSL Tips: Starting Linux Background Services on Windows Login

Collapse
 
blarvin profile image
North

I'm afraid it didn't work for me...
I need to run the same command: service postgresql start and it just isn't started (it runs fine as root/sudo). File permissions for the script are good wrxwrxwrx. I do believe shell starts and the script is being run.

I have Windows build 17692. I must be missing something...

Great post, I appreciate it!

I'll keep trying. Cheers.

Collapse
 
blarvin profile image
North

UPDATE: IT IS WORKING!!!!!!!!!!!

Yay!!!

I had been rebooting the windows machine by "restart"... This morning when I booted it from shutdown state, the Postgres server was running. And this is from the script and task scheduler you explained.

Thanks again.