Open nskalis opened 5 years ago
just a kind reminder on this please :) I would appreciate your help into closing this by providing the systems service file even as an example in this issue.
@nskalis A very quick sample based on upstream hot-restarter wrapper will be like:
[Unit]
Description=Envoy Proxy
Requires=network-online.target
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/envoy-hot-restarter.py /usr/local/bin/start-envoy.sh
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
Where envoy-hot-restarter.py and start-envoy.sh can found from this doc: https://www.envoyproxy.io/docs/envoy/latest/operations/hot_restarter
We're trying to simplify this a bit with the package and release with right wrappers.
@lizan shouldn't it be as following .
ExecStart=python3 /usr/local/bin/envoy-hot-restarter.py /usr/local/bin/start-envoy.sh
What is incorrect, confusing or missing:
What I find to be missing is an example systemd service file for the common ops of administrating envoy, such as start, stop, reload. That would be of great help for an envoy newbie such as myself and others I assume.
Suggested fix:
Following our conversation in Slack, would you be so kind to document an example of a systemd service file for starting, reloading, stopping envoy when installed using get envoy.io ?