Skip to content
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

[not-a-bug] Autostart in Linux #214

Open
castorsky opened this issue Nov 25, 2020 · 2 comments
Open

[not-a-bug] Autostart in Linux #214

castorsky opened this issue Nov 25, 2020 · 2 comments

Comments

@castorsky
Copy link

castorsky commented Nov 25, 2020

All major distros are now based on systemd and users can create their own services which start on user logon.
Assume that mono is already installed and mono-version is unpacked to /home/${USER}/.local/bin/webdav/ directory.
User have to create systemd directory

mkdir -p ~/.config/systemd/user

Then place there wrappermailru.service file with following content

[Unit]
Description=WedDAV Mail.ru wrapper service
After=network.target

[Service]
ExecStart=mono /home/${USER}/.local/bin/webdav/wdmrc.exe -p 9092 --maxthreads 8

[Install]
WantedBy=default.target

Reload systed config:

systemctl --user daemon-reload

And finally enable service:

systemctl --user enable --now wrappermailru.service
@yar229
Copy link
Owner

yar229 commented Nov 25, 2020

[Unit]
Description=WedDAV Mail.ru wrapper service
After=network.target

@castorsky
Copy link
Author

Thanks, updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants