Skip to content

Instantly share code, notes, and snippets.

@coulof
Last active Feb 4, 2021
Embed
What would you like to do?
Systemd Unit for kubectl-fzf cache_builder
[Unit]
Description=Cache Builder for Kubectl-FZF Service
[Service]
Environment=KUBECTL_FZF_CACHE=%h/tmp/kubectl_fzf_cache
Type=forking
ExecStart=%h/bin/cache_builder --daemon start --daemon-pid-file /run/user/%U/cache_builder.pid --daemon-log-file /tmp/cache_builder-%u.log
ExecStop=%h/bin/cache_builder --daemon stop --daemon-pid-file /run/user/%U/cache_builder.pid
PIDFile=/run/user/%U/cache_builder.pid
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment