daemonize

Run a command (that does not daemonize itself) as a Unix daemon.
More information.
daemonize {command} {command_arguments}
daemonize -p {path/to/pidfile} {command} {command_arguments}
daemonize -l {path/to/lockfile} {command} {command_arguments}
sudo daemonize -u {user} {command} {command_arguments}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY