Hi Viacheslav,
[Unit]
Description=vault server
[Service]
Restart=on-failure
ExecStart=/usr/bin/vault server -dev
ExecStop=/usr/bin/vault operator step-down
[Install]
WantedBy=multi-user.target
I changed my .service file on my device, but this is not working in this way:
Following is my error when i run the dev server mode:
[[0;1;31m●[[0m vault.service - vault server
Loaded: loaded (/lib/systemd/system/vault.service; enabled; vendor preset: enabled)
Active: [[0;1;31mfailed[[0m (Result: exit-code) since Wed 2020-02-19 09:36:23 UTC; 7s ago
Process: 1563 ExecStart=/usr/bin/vault server -dev [[0;1;31m(code=exited, status=1/FAILURE)[[0m
Main PID: 1563 (code=exited, status=1/FAILURE)
Feb 19 09:36:23 imx6ul-var-dart systemd[1]: vault.service: Service RestartSec=100ms expired, scheduling restart.
Feb 19 09:36:23 imx6ul-var-dart systemd[1]: vault.service: Scheduled restart job, restart counter is at 5.
Feb 19 09:36:23 imx6ul-var-dart systemd[1]: Stopped vault server.
Feb 19 09:36:23 imx6ul-var-dart systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mvault.service: Start request repeated too quickly.[[0m
Feb 19 09:36:23 imx6ul-var-dart systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mvault.service: Failed with result 'exit-code'.[[0m
Feb 19 09:36:23 imx6ul-var-dart systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mFailed to start vault server.[[0m
My main problem is this: Vault missing client token when start on systemd
Can you support me on this? I’m stuck.