Am 15.09.2011 10:47, schrieb Michael Olbrich: > On Thu, Sep 15, 2011 at 10:15:05AM +0200, Stefan G. Weichinger wrote: >> Am 15.09.2011 08:49, schrieb Michael Olbrich: >>> On Wed, Sep 14, 2011 at 11:49:30PM +0200, Stefan G. Weichinger wrote: >>> Are the sshd.socket/[email protected] from >>> http://0pointer.de/public/systemd-units/ working? If not, then it's >>> probably an issue with systemd and not you unit files. >> >> Compared both sshd.socket/[email protected], I use exactly those files and >> yes, that works. > > The [email protected] contains: > StandardInput=socket > > maybe you need that too?
Who knows? ;-) I now have switched to "Accept=false", this leads to the socket not failing anymore. This requires amanda.service instead. I also tried to make the socket listen on IPv4 only. # cat amanda.socket [Socket] ListenStream=0.0.0.0:10080 Accept=false [Install] WantedBy=sockets.target # cat amanda.service [Unit] Description=amandad [Service] ExecStart=/usr/libexec/amanda/amandad -auth=bsdtcp amdump User=amanda Group=amanda StandardInput=socket -- To me it seems that amandad gets started, but somehow doesn't (get the chance) respond the right way. I am more fiddling here than knowing what to do. Right now I look at what "wait" and "groups" does in xinetd, and try to mimic that ;-) Stefan _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
