blob: ba7e7f09bbf86e14cfad77849d06dce703b3c11f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
|