Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-23 Thread Adrian Sevcenco
On 01/21/2018 04:50 PM, francis.montag...@inria.fr wrote: in which i tried to remove the socket dependency but i still have this : systemctl list-dependencies tftp.service tftp.service ● ├─system.slice ● └─tftp.socket The following Note (hard to find that) at the end of the man of systemd.un

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-21 Thread Girisha A L
Hi use (htop) command to see all the services and stop the services using pid process On 18-Jan-2018 4:23 AM, "Adrian Sevcenco" 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

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-21 Thread Francis . Montagnac
Hi. On Sun, 21 Jan 2018 13:02:41 +0200 Adrian Sevcenco wrote: ... > the proper procedure would be "systemctl edit service_name"... > as such i have this : > cat tftp.service.d/override.conf > [Unit] > DefaultDependencies=no > Requires= ... > in which i tried to remove the socket dependency but

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-21 Thread Adrian Sevcenco
On 01/21/2018 03:56 PM, Ed Greshko wrote: On 01/21/18 21:17, Adrian Sevcenco wrote: On 01/21/2018 02:12 PM, Ed Greshko wrote: On 01/21/18 19:02, Adrian Sevcenco wrote: so, i had to create mytftp.service with the content as above that works as expected, and i have the freedom to start and stop

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-21 Thread Ed Greshko
On 01/21/18 21:17, Adrian Sevcenco wrote: > On 01/21/2018 02:12 PM, Ed Greshko wrote: >> On 01/21/18 19:02, Adrian Sevcenco wrote: >>> so, i had to create mytftp.service with the content as above that works as >>> expected, and i have the freedom to start and stop whenever i chose to.. >> >> >> Wha

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-21 Thread Adrian Sevcenco
On 01/21/2018 02:12 PM, Ed Greshko wrote: On 01/21/18 19:02, Adrian Sevcenco wrote: so, i had to create mytftp.service with the content as above that works as expected, and i have the freedom to start and stop whenever i chose to.. What command do you use to stop/start mytftp.service and how

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-21 Thread Ed Greshko
On 01/21/18 19:02, Adrian Sevcenco wrote: > so, i had to create mytftp.service with the content as above that works as > expected, and i have the freedom to start and stop whenever i chose to.. What command do you use to stop/start mytftp.service and how does that differ from "systemctl stop/st

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-21 Thread Adrian Sevcenco
On 01/21/2018 07:03 AM, Samuel Sieb wrote: On 01/20/2018 07:40 AM, Adrian Sevcenco wrote: On 01/19/2018 03:00 PM, James Hogarth wrote: 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

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-20 Thread Samuel Sieb
On 01/20/2018 07:40 AM, Adrian Sevcenco wrote: On 01/19/2018 03:00 PM, James Hogarth wrote: 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? i don't want (need) a supplementary

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-20 Thread Adrian Sevcenco
On 01/19/2018 03:00 PM, James Hogarth wrote: On 17 January 2018 at 22:51, Adrian Sevcenco 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 t

Re: f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-19 Thread James Hogarth
On 17 January 2018 at 22:51, Adrian Sevcenco 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.

f26 systemd :: how to run tftp.service and disable tftp.socket

2018-01-17 Thread Adrian Sevcenco
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 :