Re: Bug#791857: ITP: daemonize -- tool to run a command as a daemon
2015-07-09 19:25 GMT+02:00 Clint Byrum <email@example.com>:
> Excerpts from md's message of 2015-07-09 10:18:50 -0700:
>> On Jul 09, Martín Ferrari <firstname.lastname@example.org> wrote:
>> > I can say that it does: start-stop-daemon misses some functionality you
>> > need for programs that don't daemonise and log to stdout/stderr, which
>> > is something I needed only last week. Having said that, I think that
>> This looks like a job for systemd.
> Yes, all problems are just nails for that hammer!
Systemd does starting/stopping and managing services very well.
The tool you want to use in this case is systemd-run, which starts a
transient service for the command you want to run in the background.
I welcome VSRE emails. See http://vsre.info/