mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
app-admin/etcd-wrapper: add $ETCD_OPTS to ExecStart
Passing arguments via this environment variable is more convenient than e.g. overriding the ExecStart line in a drop-in.
This commit is contained in:
parent
6d8ba95264
commit
dc0f59d3b5
@ -7,7 +7,7 @@ Type=notify
|
||||
Environment=ETCD_NAME=%m
|
||||
Environment=ETCD_IMG_USER=etcd
|
||||
Environment="SOURCE_FILES={{SOURCE_FILES}}"
|
||||
ExecStart=/usr/bin/etcd{{SLOT}}-wrapper
|
||||
ExecStart=/usr/bin/etcd{{SLOT}}-wrapper $ETCD_OPTS
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
LimitNOFILE=40000
|
||||
|
Loading…
x
Reference in New Issue
Block a user