0d56ec87cc
- 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
14 lines
303 B
Desktop File
14 lines
303 B
Desktop File
[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
|