[systemd-devel] How to permanently disable a service after first boot

2013-09-27 Thread Muhammad Shakeel
Hi, If there is a foo.service which is required to run during first system boot then what is the best solution to permanently disable it afterwards? I can think of two solutions but I am not sure which one is correct/more appropriate. 1) ExecStartPost=systemctl disable foo.service (I doubt

Re: [systemd-devel] How to permanently disable a service after first boot

2013-09-27 Thread Cristian Rodríguez
El 27/09/13 04:26, Muhammad Shakeel escribió: Hi, If there is a foo.service which is required to run during first system boot then what is the best solution to permanently disable it afterwards? I can think of two solutions but I am not sure which one is correct/more appropriate. 1)

Re: [systemd-devel] How to permanently disable a service after first boot

2013-09-27 Thread Mathieu Bridon
Hi, On Fri, 2013-09-27 at 12:26 +0500, Muhammad Shakeel wrote: If there is a foo.service which is required to run during first system boot then what is the best solution to permanently disable it afterwards? I can think of two solutions but I am not sure which one is correct/more

Re: [systemd-devel] How to permanently disable a service after first boot

2013-09-27 Thread Lennart Poettering
On Fri, 27.09.13 12:26, Muhammad Shakeel (muhammad_shak...@mentor.com) wrote: Hi, If there is a foo.service which is required to run during first system boot then what is the best solution to permanently disable it afterwards? I can think of two solutions but I am not sure which one is