On Wed, 14.09.11 22:31, Stefan G. Weichinger ([email protected]) wrote: Sorry for the delay, but I hope this is useful still: > > What I have now: > > # cat amanda.socket > [Socket] > ListenStream=10080 > Accept=true > > [Install] > WantedBy=sockets.target > > # cat amanda\@.service > [Unit] > Description=amandad > > [Service] > ExecStart=-/usr/libexec/amanda/amandad -auth=bsdtcp amdump > User=amanda > Group=amanda >
If this is an inetd service you need to specify "StandardInput=socket" here. That directive makes sure the sockets are passes on fds 0-2 to the spawned process which is how inetd does it too. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
