[Unit] Description=KES Documentation=https://github.com/minio/kes/wiki Wants=network-online.target After=network-online.target AssertFileIsExecutable=/usr/local/bin/kes [Service] WorkingDirectory=/etc/kes/ AmbientCapabilities=CAP_IPC_LOCK User=kes Group=kes ProtectProc=invisible ExecStart=/usr/local/bin/kes server --config=/opt/kes/config.yaml # Let systemd restart this service always Restart=always # Specifies the maximum file descriptor number that can be opened by this process LimitNOFILE=65536 # Specifies the maximum number of threads this process can create TasksMax=infinity # Disable timeout logic and wait until process is stopped TimeoutStopSec=infinity SendSIGKILL=no [Install] WantedBy=multi-user.target