Created
May 27, 2020 18:54
-
-
Save azak-azkaran/7258dd64e841ab246c3a39336a2d57df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description="HashiCorp Vault - A tool for managing secrets" Documentation=https://www.vaultproject.io/docs/ | |
Requires=network-online.target | |
StartLimitBurst=3 | |
[Service] | |
User=andy | |
PrivateDevices=yes | |
PrivateTmp=yes | |
ProtectSystem=full | |
ReadWritePaths=/home/andy/Dropbox/vault/ | |
#ProtectHome=read-only | |
#SecureBits=keep-caps | |
#Capabilities=CAP_IPC_LOCK+ep | |
#CapabilityBoundingSet=CAP_SYSLOG CAP_IPC_LOCK | |
NoNewPrivileges=yes | |
ExecStart=/usr/local/bin/vault server -config=/etc/vault.d/dropbox.hcl | |
KillSignal=SIGINT | |
TimeoutStopSec=30s | |
Restart=on-failure | |
StartLimitBurst=3 | |
StartLimitInterval=60 | |
StartLimitIntervalSec=60 | |
LimitNOFILE=65536 | |
LimitMEMLOCK=infinity | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment