matteoserva / MegaFuse

MEGA client for linux, based on FUSE
Other
249 stars 79 forks source link

Added systemd service file which should be used with a username argument #18

Closed AndydeCleyre closed 10 years ago

AndydeCleyre commented 10 years ago

and expects a config file at /home/username/.config/MegaFuse/megafuse.conf

fermuch commented 10 years ago

Isn't it better to just put the file at ~/.config/systemd/user/megafuse.service and use %h (auto-setted) as home dir? (as defined in the arch wiki)

A note should be added to the README, if we do it this way.

AndydeCleyre commented 10 years ago

You're right @fermuch, that is the better way, since the user would be able to start the service without needing extra privileges.

I personally prefer the "worse" method, as it allows me more uniform management of services.

matteoserva commented 10 years ago

to patch or not to patch?

AndydeCleyre commented 10 years ago

We could just add another service file, to give users the choice. They would have different names anyway (the new one wouldn't have the @). I can test and push it later today.