You are not logged in.

#1 2012-12-10 13:33:08

jiewmeng
Member
Registered: 2012-02-09
Posts: 118

How to start mongod automatically?

I think in the old Arch Linux, I just need to add `mongod` into `rc.conf`, but now, I believe `systemctl` is used? How do I start mongod automatically on startup now?


Computer Science Student, Web Developer

Offline

#2 2012-12-10 13:47:27

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,724
Website

Re: How to start mongod automatically?

systemctl enable mongodb.service

Please do some research before asking things like this.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB