mirror of https://github.com/ovh/the-bastion
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
553 B
21 lines
553 B
[Unit]
|
|
Description=OVH::Bastion HTTP Proxy daemon
|
|
After=local-fs.target
|
|
# A few safeguards to ensure that, if /home is encrypted,
|
|
# it's properly unlocked before we attempt to start
|
|
ConditionPathIsDirectory=/home/allowkeeper
|
|
ConditionPathIsDirectory=/home/keykeeper
|
|
ConditionPathIsDirectory=/home/logkeeper
|
|
ConditionPathExists=/home/allowkeeper/healthcheck/allowed.ip
|
|
|
|
[Service]
|
|
ExecStart=/opt/bastion/bin/proxy/osh-http-proxy-daemon
|
|
KillMode=process
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
User=proxyhttp
|
|
Group=proxyhttp
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|