Trying to autostart mongodb , but does not work
$ sudo systemctl status mongod.service -l ● mongod.service - High-performance, schema-free document-oriented database Loaded: error (Reason: Invalid argument) Active: inactive (dead) Docs: https://docs.mongodb.org/manual
Nov 03 00:28:08 xxxxx systemd[1]: mongod.service lacks both ExecStart= and ExecStop= setting. Refusing. Nov 03 00:28:13 xxxx systemd[1]: mongod.service lacks both ExecStart= and ExecStop= setting. Refusing.
$ sudo systemd-analyze verify /usr/lib/systemd/system/mongod.service Binding to IPv6 address not available since kernel does not support IPv6.