mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 21:20:50 +00:00
Changing the old try to mount partition as a service to systemd.mount
This commit is contained in:
parent
824a179a58
commit
870bccbdf8
2
Services/instructions.md
Normal file
2
Services/instructions.md
Normal file
@ -0,0 +1,2 @@
|
||||
To enable, copy service to `/etc/systemd/system`
|
||||
then enable it with `systemctl enable run-media-bruno-Multimedia.mount`
|
@ -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"
|
12
Services/run-media-bruno-Multimedia.mount
Normal file
12
Services/run-media-bruno-Multimedia.mount
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user