Difference between revisions of "OpenElec"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) (Created page with "== Raspberry Pi OpenElec Mount NFS == === Create the directory === mkdir /storage/videos === Create service file === * The service file name must follow the following pattern...") |
(No difference)
|
Revision as of 11:41, 12 October 2018
Raspberry Pi OpenElec Mount NFS
Create the directory
mkdir /storage/videos
Create service file
- The service file name must follow the following pattern
path.replace("/", "-").mount (example for /storage/videos)
nano /storage/.config/system.d/storage-videos.mount
- Content:
[Unit] Description=test nfs mount script Requires=network-online.service After=network-online.service Before=kodi.service [Mount] What=192.168.0.103:/media/video Where=/storage/videos Options=udp,noatime,rsize=32768,wsize=32768,nolock,nfsvers=3 Type=nfs [Install] WantedBy=multi-user.target
Start and enable the service
systemctl enable storage-videos.mount systemctl start storage-videos.mount