Cloud streaming

Raspberry Pi related support

Re: Cloud streaming

Postby andy.room » 10 Jun 2015, 20:38

Frank,
After checking and having changed the .service file, still my script doesn't start at boot. But it works perfectly when launched manually.
Please find the content of my script an .service file as follows:

SCRIPT: /usr/bin/mount-box.sh

#!/usr/bin/sh
mount -t davfs https://dav.box.com/dav /mnt/MPD/LocalStorage/box


SERVICE: /etc/systemd/system/mount-box.service

[Unit]
Description=launch mount sequence automatically when the system starts up
After=network.target

[Service]
ExecStart=/usr/bin/sh /usr/bin/mount-box.sh

[Install]
WantedBy=multi-user.target


Should you spot something wrong, please be so kind to highlight it to me.
Thanks again.
andy.room
 
Posts: 31
Joined: 04 Jul 2014, 07:43

Re: Cloud streaming

Postby andy.room » 26 Jun 2015, 16:50

andy.room
 
Posts: 31
Joined: 04 Jul 2014, 07:43

support RuneAudio Donate with PayPal

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 25 guests