add service file fragment for _sftp-ssh._tcp (closes #58)
authorLennart Poettering <lennart@poettering.net>
Thu, 31 Aug 2006 15:48:34 +0000 (15:48 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 31 Aug 2006 15:48:34 +0000 (15:48 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1294 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-daemon/Makefile.am
avahi-daemon/sftp-ssh.service [new file with mode: 0644]

index 15cbb57..973a2b5 100644 (file)
@@ -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 (file)
index 0000000..c65535a
--- /dev/null
@@ -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>