loggie
loggie copied to clipboard
主机部署systemd无法启动
主机部署的时候,无法用systemd启动
但是可以直接从命令行启动
loggie.service 文件
[Unit]
Description=Loggie
Documentation=https://loggie-io.github.io/docs/getting-started/install/node/
[Service]
#Type=forking
#WorkingDirectory=/usr/local/loggie
MemoryMax=200M
ExecStart=/usr/local/loggie/loggie -config.system=/usr/local/loggie/loggie.yaml -config.pipeline=/usr/local/loggie/pipelines.yaml
Restart=always
[Install]
WantedBy=multi-user.target
参考一下这个,大概率cgo导致的, https://loggie-io.github.io/docs/user-guide/troubleshot/problems/#_1
建议你使用最新main分支,用make build-in-badger构建非cgo的二进制。
重新编译后可以了,感谢