gof5
gof5 copied to clipboard
[feature request] Option for creating pidfile
It would be nice if there'd be an option for creating a file containg the process ID, so that the program can be closed properly after being put to background.
Why not launching the process via launchd
/systemd
instead? For the username and password prompt both frameworks offer a solution.
I don't think a launchd/systemd service is reasonable. It would be nice if you could start the service in foreground and fork to background once the session is up. Also you would need to write log to file instead of stdout.