Re: how to register a system service

2022-04-21 Thread Greg Wooledge
On Thu, Apr 21, 2022 at 04:13:20PM +0800, Henrik S wrote: > Given I have a program, I want to make it start/stop as the normal system > service such as postfix. > > How can I setup this? A beginner's guide is at .

Re: how to register a system service

2022-04-21 Thread Christian Britz
On 2022-04-21 10:13 UTC+0200, Henrik S wrote: > Given I have a program, I want to make it start/stop as the normal > system service such as postfix. > > How can I setup this? The man page for systemd.service contains examples for simple service files. Even I was able to create one and that d

Re: how to register a system service

2022-04-21 Thread john doe
On 4/21/2022 10:13 AM, Henrik S wrote: Hello Given I have a program, I want to make it start/stop as the normal system service such as postfix. How can I setup this? If I understand you correctly, you will need to create a Systmed's service file. -- John Doe

how to register a system service

2022-04-21 Thread Henrik S
Hello Given I have a program, I want to make it start/stop as the normal system service such as postfix. How can I setup this? thank you.