英文: Get new lines of syslog to my custom program(daemon) 问题 我需要在我的C(或Golang)程序中获取新的syslog行,当它被写入时。 该...
如何在Go守护进程中重新启动自身?
英文: How to restart itself in Go daemon process? 问题 我使用go-daemon库来分叉进程并在后台运行它。在http处理程序内执行更新后,我需要重新启动...
如何创建一个执行TimerTasks的守护进程?
英文: How do I create a daemon which executes TimerTasks? 问题 我需要在Java中创建一个守护进程,定期通过HTTP检索数据并将其存储在数据库中。...
接收来自非通道类型 *bool 的值
英文: Receive from non-chan type *bool 问题 我想将myapp变成守护进程,但是我遇到了一个大问题。我正在使用的通道的类型是chan struct{}。然而,使用ge...
Daemon只执行一次goroutine。
英文: Daemon executes only one time a goroutine 问题 我尝试添加必要的代码来将我的应用程序执行为守护进程。我使用了下面的项目: github.com/sev...
长时间运行的进程中是否应该保留空闲线程?
英文: Should idle threads be left around in long running process? 问题 我正在创建一个长期运行并监听工作的Go程序。当它收到请求时,它会在...
Docker守护进程无法启动或重新启动。
英文: Docker daemon does not start or restart 问题 我在Ubuntu 14.04上,并且我也升级了最新版本的Docker。 每当我执行sudo /etc/in...
Can I daemonize a golang process without external tools?
英文: Can I daemonize a golang process without external tools? 问题 我看到了很多关于如何在Go中将应用程序变为守护进程的建议,包括使用ups...
Golang中的Ticker和Daemon
英文: Ticker and Daemon on Golang 问题 使用Ticker来实现长时间运行的守护进程的优雅终止是可能的吗?我在这里阅读了其他相关的讨论,它指出为了避免内存泄漏,你应该始终关...
制作一个可以从其他Go应用程序调用的守护进程。
英文: Go: Making a daemon that is callable from other Go apps 问题 我正在制作一个巨大的单词-语言字典,我已经有了数据,但我需要有一个在后台运...