Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Load onedrive-d on startup

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
kenwong
Posts: 53
Joined: 2015-02-14 14:52
Location: Hong Kong

Load onedrive-d on startup

#1 Post by kenwong »

I have installed and configured onedrive-d on Stretch. However, it does not start automatically every time the machine boots. I have to run the command:

Code: Select all

onedrive-d start
How can I make it load automatically?

Thanks in advance.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Load onedrive-d on startup

#2 Post by debiman »

we need much more information.
what did you install, what do you want to achieve, how did you install it, where are the links to the project and also the documentation you used for installation?
do you have to start the service as root?
is there no systemd service included in the package?
etc. etc.
please be diligent in answering these.

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: Load onedrive-d on startup

#3 Post by steve_v »

Lazy: Launch it from /etc/rc.local, possibly prepended with su <username> if it needs to run as some user other than root. Assuming it shuts down cleanly on receiving a sigterm and you don't need any monitoring.
Proper: Write a systemd unit.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Post Reply