daemonize

daemonize

TLDR

Run a command as a daemon

>_ daemonize [command] [command_arguments]
copy

Write the pid to the specified file

>_ daemonize -p [path/to/pidfile] [command] [command_arguments]
copy

Use a lock file to ensure that only one instance runs at a time

>_ daemonize -l [path/to/lockfile] [command] [command_arguments]
copy

Use the specified user account

>_ sudo daemonize -u [user] [command] [command_arguments]
copy

Copied to clipboard
free 100$ digital ocean credit