On Tue, 05.03.13 19:48, David Highley (dhighley@highley-recommended.com) wrote:
[Unit] Description=sshdfilter Daemon Documentation=file://usr/share/doc/sshdfilter-1.5.7/INSTALL.Fedora DefaultDependencies=no
DefaultDependencies=no is unlikely what you want here. That's an option for early-boot stuff, not for normal services.
[Service] Type=forking PIDFile=/var/run/sshdfilter.SSHD.pid ExecStart=/sbin/sshdfilter NotifyAccess=all
This only makes sense if your daemon use sd_notify() from its C code. Does it really?
[Install] WantedBy=multi-user.target
============ sshdfilter.socket ===================
[Unit] Description=sshdfilter Named Pipe Documentation=file:///usr/share/doc/sshdfilter-1.5.7/INSTALL.Fedora DefaultDependencies=no
Same as above.
After=syslog.target
Redundant, it's implied.
[Socket] ListenFIFO=/var/run/sshdfilter.fifo SocketMode=0644
This suggests your service is actually socket-activatable via this FIFO. Is it really?
Lennart