Create the unit file in /etc/systemd/system/mnt-cephfs.mount

Note 1: The name of the unit should match the name of the mount point (see the Where option below) with the slashes replaced by dashes.

Note 2: The After and Wants options are system-specific. I stored the secret file in the replicated location /etc/pve, which requires the pve-cluster service to be started

vi /etc/systemd/system/mnt-cephfs.mount

[Unit]
Description=Mount CephFS
After= pve-cluster.service network-online.target ceph.target
Wants= pve-cluster.service network-online.target ceph.target

[Mount]
What=:/
Where=/mnt/cephfs
Type=ceph
Options=name=admin,secretfile=/etc/pve/priv/ceph.admin.secret,noatime

[Install]
WantedBy=multi-user.target
WantedBy=ceph-fuse.target

Reload the configuration to apply

systemctl daemon-reload

Start the unit to activate the mount

systemctl start mnt-cephfs.mount

Stop the unit to dismount

systemctl stop mnt-cephfs.mount