Hallo,
ich habe mir Ubuntu Server installiert. Ich wurschtel mich aktuell ins Thema Ubuntu und weiß bereits einiges aber mit Sicherheit noch lange nicht alles.
Mein Problem ist das der Server beim Start ein paar Netzlaufwerke mounten soll. Sofern ich nach dem booten den Befehl eingebe klappt das auch. Jedoch nicht automatisch. Ich habe folgende Anleitung in diversen Sprachen gefunden und bin nach dieser auch vorgegangen.
https://4noobs.de/viewtopic.php?t=69
Prinzipiell klappt auch alles bis auf diesen Befehl: sudo systemctl enable rc-local
Dabei kommt folgende Meldung:
The unit files have no installation config (WantedBy, RequiredBy, Also, Alias
settings in the [Install] section, and DefaultInstance for template units).
This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
4) In case of template units, the unit is meant to be enabled with some
instance name specified.
Wenn ich den Dienst anhand manuell mit den in dem Beitrag aufgeführten Befehle starte läuft es auch und alle LAufwerke werden gemountet, Jedoch nur bis zum näöchsten Neustart.
Was mache ich falsch?
Installiert habe ich Ubuntu Server 18.04 LTS
LG Christian