feat(agent): systemd unit + release env.sh for root+journald install
This commit is contained in:
parent
d266a7b56c
commit
7ae14f35dd
2 changed files with 25 additions and 0 deletions
3
agent/rel/env.sh.eex
Normal file
3
agent/rel/env.sh.eex
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
# Default-logs to journald (stdout) when running under systemd
|
||||
export RELEASE_COOKIE="${RELEASE_COOKIE:-$(head -c 16 /dev/urandom | od -An -tx1 | tr -d ' \n')}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue