question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Starting and stopping udiskie in daemon mode

See original GitHub issue

It seems that to start udiskie in daemon mode, you just need to use the command

 udiskie &

But this isn’t completely clear from the documentation. However, there doesn’t seem to be a way to stop the daemon other than manually killing it.

The standardized start/stop interface, i.e.

 /etc/init.d/udiskie start | stop

might make sense. Additionally, it’s possible to start multiple versions of udiskie, though it doesn’t make sense to do so.

                                                                                       Regards, Faheem Mitha

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
mb720commented, Mar 3, 2020

For anyone interested in starting udiskie automatically on login using systemd:

  1. Create a file ~/.config/systemd/user/udiskie.service with this content:

       [Unit]
       Description=udiskie mounts drives when plugged in
    
       [Service]
       ExecStart=/usr/bin/udiskie --no-notify
    
       [Install]
       WantedBy=default.target
    
  2. Make the service execute on each login: systemctl --user daemon-reload && systemctl --user enable udiskie

  3. Reboot and check if udiskie was started with pgrep udiskie

0reactions
fmithacommented, Dec 21, 2015

Ok, Thomas. No problem. It was just a suggestion.

I don’t know if I will come up with a init script or not, but if I do, I’ll open an issue and/or a pull request for it. Should this issue be closed?

Regards, Faheem Mitha

Read more comments on GitHub >

github_iconTop Results From Across the Web

Udisks - ArchWiki
udisksd(8) is started on-demand by D-Bus and should not be enabled explicitly. It can be controlled through the command-line with udisksctl(1).
Read more >
How can I make udisks-glue run at startup and mount drives ...
While starting udisks-glue that way worked, stopping it wouldn't as start-stop-daemon would try to stop /path/to/your/helper/script.sh ...
Read more >
udiskie 0.8.0 - PyPI
udiskie is a simple daemon that uses UDisks to automatically mount removable storage devices. This daemon comes with optional mount notifications and GTK ......
Read more >
udisks-daemon churning continuously after partition resize
However system monitor showed constant disk access at around 6+ Mbps and the culprit turned out to be udisksd aka udisks-daemon. I let...
Read more >
I can not start motion as daemon - Raspberry Pi Forums
Jul 23 06:34:13 raspberrypi udisksd[884]: udisks daemon version 2.1.8 ... Start in daemon (background) mode and release terminal (default: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found