mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-29 04:47:46 +02:00
feat: show systemd service logs in service details (#2440)
Co-authored-by: hank <hank@henrygd.me>
This commit is contained in:
@@ -28,6 +28,8 @@ const (
|
||||
SyncNetworkMonitors
|
||||
// Request the list of pending package updates from agent
|
||||
GetPackageUpdates
|
||||
// Request recent logs for a systemd service from the agent.
|
||||
GetSystemdLogs
|
||||
// Add new actions here...
|
||||
)
|
||||
|
||||
@@ -85,3 +87,7 @@ type ContainerInfoRequest struct {
|
||||
type SystemdInfoRequest struct {
|
||||
ServiceName string `cbor:"0,keyasint"`
|
||||
}
|
||||
|
||||
type SystemdLogsRequest struct {
|
||||
ServiceName string `cbor:"0,keyasint"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user