mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-22 15:11:16 +01:00
systemd: set GOTRACEBACK=crash so that we have core dumps
They are useful, not least to debug issues with debugging SIGSYS caused by overly restrictive settings in the unit file. (See previous commit for an example.)
This commit is contained in:
parent
12018b3685
commit
c0b52b92d5
3
dist/systemd/zrepl.service
vendored
3
dist/systemd/zrepl.service
vendored
@ -9,6 +9,9 @@ ExecStart=/usr/local/bin/zrepl --config /etc/zrepl/zrepl.yml daemon
|
||||
RuntimeDirectory=zrepl zrepl/stdinserver
|
||||
RuntimeDirectoryMode=0700
|
||||
|
||||
# Make Go produce coredumps
|
||||
Environment=GOTRACEBACK='crash'
|
||||
|
||||
ProtectSystem=strict
|
||||
#PrivateDevices=yes # TODO ZFS needs access to /dev/zfs, could we limit this?
|
||||
ProtectKernelTunables=yes
|
||||
|
Loading…
Reference in New Issue
Block a user