Open Rizary opened 4 years ago
hello!
The PID file is here to help systemd, so it can follow the mater process during upgrades (replacing the current version of sozu with a new one without downtime): https://github.com/sozu-proxy/sozu/blob/master/bin/config.toml#L88-L92
RUNDIR corresponds to /run
or /var/run
depending on how your system is set up. We use scripts to replace those values: https://github.com/sozu-proxy/sozu/blob/005a57e8683dc563fb8165aa367d723861dfe618/os-build/exherbo/generate.sh#L7
Hi! I want to properly package sozu (using systemd) in nixpkgs (in case anyone doesn't know nixpkgs, it is a package manager used by NixOS or Nix programming language). So I am looking at the https://github.com/sozu-proxy/sozu/tree/master/os-build/systemd and wondering:
I have asked this in gitter but no one answered. I hope this is the place to discuss on this matter.