LINUX.ORG.RU

История изменений

Исправление Einstok_Fair, (текущая версия) :

У меня уже есть юнит-файлы, вот они:

cat -- /etc/systemd/system/$(systemd-escape home/user/.mozilla).mount

[Unit]
Description=firefox profiles

[Mount]
What=/dev/mapper/main-firefox
Where=/home/user/.mozilla
Type=ext4
Options=defaults

[Install]
WantedBy=multi-user.target

cat -- /etc/systemd/system/$(systemd-escape dev/mapper/main-firefox).device

[Unit]
Description=firefox folder

[Install]
WantedBy=local-fs.target

Исходная версия Einstok_Fair, :

У меня уже есть юнит-файлы, вот они:

cat – /etc/systemd/system/$(systemd-escape home/user/.mozilla).mount

[Unit]
Description=firefox profiles

[Mount]
What=/dev/mapper/main-firefox
Where=/home/user/.mozilla
Type=ext4
Options=defaults

[Install]
WantedBy=multi-user.target

cat – /etc/systemd/system/$(systemd-escape dev/mapper/main-firefox).device

[Unit]
Description=firefox folder

[Install]
WantedBy=local-fs.target