forked from pool/vsftpd
Accepting request 417078 from network
- Do not bother with omc xml configs, useless nowdays OBS-URL: https://build.opensuse.org/request/show/417078 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vsftpd?expand=0&rev=56
This commit is contained in:
commit
36e3803e0c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 11:27:39 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Do not bother with omc xml configs, useless nowdays
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 23 10:07:55 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
|
@ -33,7 +33,6 @@ Source1: %{name}.pam
|
||||
Source2: %{name}.logrotate
|
||||
Source3: %{name}.init
|
||||
Source4: README.SUSE
|
||||
Source5: %{name}.xml
|
||||
Source6: %{name}.firewall
|
||||
Source7: vsftpd.service
|
||||
Source8: vsftpd@.service
|
||||
@ -145,8 +144,6 @@ install -D -m 0644 %{SOURCE10} %{buildroot}/%{_unitdir}/%{name}.socket
|
||||
install -D -m 755 %{SOURCE3} %{buildroot}%{_initddir}/%{name}
|
||||
ln -sf %{_initddir}/%{name} %{buildroot}/%{_sbindir}/rc%{name}
|
||||
%endif
|
||||
install -d %{buildroot}/%{_datadir}/omc/svcinfo.d/
|
||||
install -D -m 644 %{SOURCE5} %{buildroot}/%{_datadir}/omc/svcinfo.d/
|
||||
install -d %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
||||
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||
|
||||
@ -190,7 +187,6 @@ getent passwd ftpsecure >/dev/null || useradd -r -g nogroup -s /bin/false -c "Se
|
||||
%endif
|
||||
%{_sbindir}/%{name}
|
||||
%{_sbindir}/rc%{name}
|
||||
%{_datadir}/omc/svcinfo.d/vsftpd.xml
|
||||
%dir %{_datadir}/empty
|
||||
%config(noreplace) %{_sysconfdir}/xinetd.d/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
|
89
vsftpd.xml
89
vsftpd.xml
@ -1,89 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (c) 2006 Novell, Inc. All rights reserved.
|
||||
|
||||
|
||||
Service Description XML Document for vsftpd.
|
||||
|
||||
This file should be placed in /etc/omc/svcinfo.d
|
||||
|
||||
Note: The name of the service is the name of this file without the .xml
|
||||
file extension.
|
||||
-->
|
||||
|
||||
<serviceDescription version="1.0">
|
||||
|
||||
<!-- Caption for display purposes -->
|
||||
<caption>vsftpd Server</caption>
|
||||
|
||||
<!-- Description of this service -->
|
||||
<description>
|
||||
vsftpd Server
|
||||
</description>
|
||||
|
||||
|
||||
<!--
|
||||
The startCommand tag specifies the command line that will be
|
||||
invoked to start the service. The return code from this command
|
||||
must be as follows:
|
||||
0 - success
|
||||
1 - generic or unspecified error
|
||||
2 - invalid or excess argument(s)
|
||||
3 - unimplemented feature (e.g. "reload")
|
||||
4 - user had insufficient privileges
|
||||
5 - program is not installed
|
||||
6 - program is not configured
|
||||
7 - program is not running
|
||||
-->
|
||||
<startCommand>/usr/sbin/rcvsftpd start</startCommand>
|
||||
|
||||
<!--
|
||||
The reStartCommand tag specifies the command line that will be
|
||||
invoked to restart the service. The return code from this command
|
||||
must be as specified in the startCommand tag.
|
||||
-->
|
||||
<reStartCommand>/usr/sbin/rcvsftpd restart</reStartCommand>
|
||||
|
||||
<!--
|
||||
The stopCommand tag specifies the command line that will be
|
||||
invoked to stop the service. The return code from this command
|
||||
must be as specified in the startCommand tag.
|
||||
-->
|
||||
<stopCommand>/usr/sbin/rcvsftpd stop</stopCommand>
|
||||
|
||||
<!--
|
||||
The statusCommand specifies the command line that can be run
|
||||
that will report on the status of the service. The return code
|
||||
from this command line should be as follows:
|
||||
0 - service up and running
|
||||
1 - service dead, but /var/run/ pid file exists
|
||||
2 - service dead, but /var/lock/ lock file exists
|
||||
3 - service not running (unused)
|
||||
4 - service status unknown :-(
|
||||
-->
|
||||
<statusCommand>/usr/sbin/rcvsftpd status</statusCommand>
|
||||
<!--
|
||||
The processInformation tag allows the XML Service provider to
|
||||
identify the processes that belong to the service. This allows
|
||||
the ServiceProcess associations to be instrumented.
|
||||
If the process_information tag is not specifed, the will be no
|
||||
ServiceProcess association for the service.
|
||||
-->
|
||||
|
||||
<processInformation>
|
||||
<name>vsftpd</name>
|
||||
<modulePath>/usr/sbin/vsftpd</modulePath>
|
||||
</processInformation>
|
||||
|
||||
|
||||
<!--
|
||||
Define the services that this service has a dependency on.
|
||||
There must be a corresponding Service Description XML file
|
||||
for the antecedent service in the /etc/omc/svcinfo.d directory.
|
||||
-->
|
||||
<dependsOn>
|
||||
<serviceName>syslog</serviceName>
|
||||
</dependsOn>
|
||||
|
||||
|
||||
</serviceDescription>
|
Loading…
Reference in New Issue
Block a user