6126fb2e26
- Add nbd-client.service which will provide a nbd@.service to allow other units to require a nbd@nbd0.service if /etc/nbdtab is configured accordingly OBS-URL: https://build.opensuse.org/request/show/522012 OBS-URL: https://build.opensuse.org/package/show/network:utilities/nbd?expand=0&rev=48
13 lines
259 B
Desktop File
13 lines
259 B
Desktop File
[Unit]
|
|
Description=NBD client connection for %i
|
|
Documentation=man:nbd-client(8) man:nbdtab(5)
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/sbin/nbd-client %i
|
|
ExecStop=/usr/sbin/nbd-client -d /dev/%i
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|