Accepting request 289785 from home:pluskalm:branches:network

- Cleanup spec-file with spec-cleaner
- Do not generate config.example from README
  * add config.example as source
- Add unit file (nbd-server.service)
- Add sysconfig template (nbd-server.sysconfig)
- Add no-return-nonvoid.patch
- Update requirements
- Update to 3.9

OBS-URL: https://build.opensuse.org/request/show/289785
OBS-URL: https://build.opensuse.org/package/show/network:utilities/nbd?expand=0&rev=27
This commit is contained in:
OBS User mrdocs
2015-03-15 04:37:42 +00:00
committed by Git OBS Bridge
parent b152c83e84
commit 0d56ec87cc
9 changed files with 196 additions and 75 deletions

13
nbd-server.service Normal file
View File

@@ -0,0 +1,13 @@
[Unit]
Description=Network Block Device server
Documentation=man:nbd-server(1) man:nbd-server(5)
After=syslog.target network.target
[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/nbd-server
ExecStart=/usr/bin/nbd-server $OPTIONS
PIDFile=/run/nbd-server.pid
[Install]
WantedBy=multi-user.target