Changing the old try to mount partition as a service to systemd.mount

This commit is contained in:
Bruno Fontes 2018-07-26 11:24:21 -03:00
parent 824a179a58
commit 870bccbdf8
3 changed files with 14 additions and 10 deletions

2
Services/instructions.md Normal file
View File

@ -0,0 +1,2 @@
To enable, copy service to `/etc/systemd/system`
then enable it with `systemctl enable run-media-bruno-Multimedia.mount`

View File

@ -1,10 +0,0 @@
[Unit]
Description=Mount Multimedia out of fstab
[Service]
ExecStart=mount /dev/sdb5 /run/media/bruno/Multimedia
[Install]
WantedBy=multi-user.target
# To enable, copy this to "/etc/systemd/system"

View File

@ -0,0 +1,12 @@
[Unit]
Description=Mount Multimedia out of fstab
[Mount]
What=/dev/disk/by-label/Multimedia
Where=/run/media/bruno/Multimedia
Type=ntfs
Options=defaults
[Install]
WantedBy=multi-user.target