diff options
author | Matt Singleton <matt@xcolour.net> | 2024-06-11 20:51:49 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2024-06-11 20:51:49 -0500 |
commit | 38a4e8e941ee07a15b0aa5d388a69df061585ec9 (patch) | |
tree | f342100836608bcde976804bc4d7e927f21574da /stow/udiskie/.config/systemd/user | |
parent | c8dea64ee21c16b35c2a8b4982806984daba3273 (diff) |
separate sway-de folder causes problems with overlapping stow responsibilities
Diffstat (limited to 'stow/udiskie/.config/systemd/user')
-rw-r--r-- | stow/udiskie/.config/systemd/user/udiskie.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/stow/udiskie/.config/systemd/user/udiskie.service b/stow/udiskie/.config/systemd/user/udiskie.service new file mode 100644 index 0000000..ba7e7f0 --- /dev/null +++ b/stow/udiskie/.config/systemd/user/udiskie.service @@ -0,0 +1,15 @@ +[Unit] +Description=Handle automounting of usb devices +Documentation=man:udiskie(1) +PartOf=sway-session.target + +[Service] +Type=simple +ExecStart=/usr/bin/udiskie -s +ExecStop=/bin/kill -2 $MAINPID +Restart=on-failure +RestartSec=1 +TimeoutStopSec=10 + +[Install] +WantedBy=sway-session.target |