On 17 January 2018 at 22:51, Adrian Sevcenco <Adrian.Sevcenco@xxxxxxx> wrote: > Hi! I need to have tftp run by service not by socket (at this moment service > requires and start the socket) but even with a proper (i hope) > override and a masked tftp.socket i get: > Failed to start tftp.service: Unit tftp.socket is masked. > > this is the override > [Thursday 18.01.18 00:43] root@sev : /etc/systemd/system/tftp.service.d $ > cat override.conf > [Unit] > Requires= > > [Service] > ExecStart= > ExecStart=/usr/sbin/in.tftpd -4 -c -L -s /home.hdd/tftpd > StandardInput= > > [Install] > Also= > > i still have the socket as dependency : > [Thursday 18.01.18 00:50] root@sev : /etc/systemd/system/tftp.service.d $ > systemctl --plain list-dependencies tftp.service | head > tftp.service > system.slice > tftp.socket > sysinit.target > cgconfig.service > dev-hugepages.mount > dev-mqueue.mount > dmraid-activation.service > dracut-shutdown.service > kmod-static-nodes.service > Seeing as this is a very unusual request, even to the point prior to systemd tftpd was run under xinetd rather than its own service, I think the first question is why? What problem are you attempting to solve that you think this is the solution? There's good reason for it being a socket based service, even prior to systemd, so it would be useful understanding what you are trying to accomplish as an end goal. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx