Hi, I have a go application, configured as a service, which sometimes crashes (investigating) but the service is never restarted and I need to reset the VM.
The only difference is logging to console:
- name: landscape
image: ***redacted***
capabilities:
- CAP_NET_BIND_SERVICE
binds.add:
- /etc/resolv.conf:/etc/resolv.conf
- /var/lib/landscape:/app/data
command: ["sh", "-c", "/app/landscape > /dev/console 2>&1"]
net: host
devices:
- path: "/dev/console"
type: c
major: 5
minor: 1
mode: "0666"
Hi, I have a go application, configured as a service, which sometimes crashes (investigating) but the service is never restarted and I need to reset the VM.
The only difference is logging to console: