Hello,
I have used autofs in several distro's and would like to use it here in KaOS as well.
I installed the package using: sudo pacman -S autofs
A directory /etc/autofs is created with one entry:
drwxr-xr-x 2 root root 4096 Dec 10 2018 auto.master.d
I copied my auto.master and auto.shares files to the /etc/autofs directory (the ones I have used for ages)
Then I enabled the service:
sudo systemctl enable autofs
but got an error:
sudo systemctl enable autofs
Failed to enable unit: Unit file autofs.service does not exist
What am I missing here? In my previous used distro's I had an autofs.service file in /usr/lib/systemd/system/ with the following content:
[Unit]
Description=Automounts filesystems on demand
After=network.target ypbind.service sssd.service network-online.target remote-fs.target
Wants=network-online.target rpc-statd.service rpcbind.service
[Service]
Type=forking
PIDFile=/run/autofs.pid
EnvironmentFile=-/etc/default/autofs
ExecStart=/usr/bin/automount $OPTIONS --pid-file /run/autofs.pid
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=process
TimeoutSec=180
[Install]
WantedBy=multi-user.target