mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-06 13:02:55 +00:00
19 lines
705 B
Desktop File
19 lines
705 B
Desktop File
[Unit]
|
|
Description=Zenith safekeeper
|
|
After=network.target auditd.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=safekeeper
|
|
Environment=RUST_BACKTRACE=1 NEON_REPO_DIR=/storage/safekeeper/data LD_LIBRARY_PATH=/usr/local/lib
|
|
ExecStart=/usr/local/bin/safekeeper -l {{ inventory_hostname }}.local:6500 --listen-http {{ inventory_hostname }}.local:7676 -p {{ first_pageserver }}:6400 -D /storage/safekeeper/data --broker-endpoints={{ etcd_endpoints }} --remote-storage='{bucket_name="{{bucket_name}}", bucket_region="{{bucket_region}}", prefix_in_bucket="wal"}'
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=mixed
|
|
KillSignal=SIGINT
|
|
Restart=on-failure
|
|
TimeoutSec=10
|
|
LimitNOFILE=30000000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|