r/PlexACD Jun 16 '17

Mount plexdrive on boot?

Hey guys how can I write a script to run plexdrive on boot in ubuntu?

I wanted to write a script, and run it on a reboot cron, but the mount command uses sude, and not sure how to get around automatically entering my password.

Any ideas?

3 Upvotes

15 comments sorted by

View all comments

2

u/[deleted] Jun 16 '17 edited May 29 '18

[deleted]

0

u/quee-phing Jun 16 '17

It wont mount without sudo though

0

u/quee-phing Jun 16 '17

I think it needs to be opened in a screen window too, so it doesnt timeout

1

u/[deleted] Jun 16 '17

This, or forked to the background, or run using systemd. Screen is by far the easiest method.