summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-31 15:48:34 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-31 15:48:34 +0000
commit16ede7fb33fde566f43390d8dcf22d49f52c80e4 (patch)
tree5a12efff778086465b4f9e9471880f9da419df62
parent4287a521ead9fca175c5f01594288d87433c7f77 (diff)
add service file fragment for _sftp-ssh._tcp (closes #58)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1294 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-daemon/Makefile.am4
-rw-r--r--avahi-daemon/sftp-ssh.service36
2 files changed, 39 insertions, 1 deletions
diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am
index 15cbb57..973a2b5 100644
--- a/avahi-daemon/Makefile.am
+++ b/avahi-daemon/Makefile.am
@@ -70,7 +70,8 @@ pkgsysconf_DATA = \
hosts
service_DATA = \
- ssh.service
+ ssh.service \
+ sftp-ssh.service
pkgdata_DATA = \
avahi-service.dtd
@@ -148,6 +149,7 @@ EXTRA_DIST = \
HostNameResolver.introspect \
RecordBrowser.introspect \
ssh.service \
+ sftp-ssh.service \
hosts \
example.service \
introspect.dtd \
diff --git a/avahi-daemon/sftp-ssh.service b/avahi-daemon/sftp-ssh.service
new file mode 100644
index 0000000..c65535a
--- /dev/null
+++ b/avahi-daemon/sftp-ssh.service
@@ -0,0 +1,36 @@
+<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
+<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
+
+<!-- $Id$ -->
+
+<!--
+ This file is part of avahi.
+
+ avahi is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ avahi is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with avahi; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA.
+-->
+
+<!-- See avahi.service(5) for more information about this configuration file -->
+
+<service-group>
+
+ <name replace-wildcards="yes">SFTP File Transfer on %h</name>
+
+ <service>
+ <type>_sftp-ssh._tcp</type>
+ <port>22</port>
+ </service>
+
+</service-group>