Run a script at boot

Hi, I have a script that runs to mount a share from the UNRAID server that I’m running underneath Endeavour OS:

mount -t 9p -o trans=virtio /MyMedia /MyMedia -oversion=9p2000.L

I tried following the instructions here:

But it’s not working.

Was wondering if anyone could help me.

what is your script fully i mis somethings… ?

look the purple line also read some lines above also

you must make the script also executable… chmod +x (xx) , wil do
dont forget that sh line.

Got it working.

I had pointed the [Service] part at a folder called my-script, I needed to point it at the script inside the folder.
I ended up with:





My is… I had missed of the #!/bin/sh part

mount -t 9p -o trans=virtio /MyMedia /MyMedia -oversion=9p2000.L

It is a command for mounting a folder from my host OS ( UNRAID ) to my gues VM ( Endeavour OS )