-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Systemd service configuration issue: MEGAcmd WebDAV server not starting automatically on reboot #1025
Comments
You should log in before mega-webdav Replace this:
With this:
And test it. Note: And to make sure there is no previous instance started, you could try like this:
|
Thank you @picaronin for the answer. And i have to disable two-factor authentication. |
Sessions remain active unless they are expressly deactivated. |
I try to start without webdav to begin.
|
Hello,
Environment
Current Configuration
I want to use webdav with Megacmd automatically on reboot.
I have created a systemd service at
/etc/systemd/system/mega-cmd-server.service
:[Unit] Description=MEGAcmd systemd service After=network.target network-online.target StartLimitIntervalSec=0 [Service] Type=simple Restart=on-failure RestartSec=1 User=jbo ExecStart=/usr/bin/mega-cmd-server ExecStart=/usr/bin/mega-cmd-server mega-webdav '/Mini me cloud/Kids' [Install] WantedBy=multi-user.target
I have enabled and start the service
systemctl enable mega-cmd-server.service
systemctl start mega-cmd-server.service
Some logs:
Current Behavior
Expected Behavior
Both the MEGAcmd server and WebDAV server should start automatically on system reboot
Questions
Thank you in advance for the help.
The text was updated successfully, but these errors were encountered: