zrok-ctrl and zrok-http-frontend systemd units (#44)

This commit is contained in:
Michael Quigley 2022-09-06 13:02:07 -04:00
parent 4fff27f3e9
commit f90dc659b6
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,14 @@
[Unit]
Description=zrok-ctrl
After=network.target
[Service]
User=ubuntu
WorkingDirectory=/home/ubuntu
ExecStart=/home/ubuntu/local/zrok/bin/zrok ctrl /home/ubuntu/local/etc/zrok.io/zrok-ctrl.yml
Restart=always
RestartSec=2
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,14 @@
[Unit]
Description=zrok-http-frontend
After=network.target
[Service]
User=ubuntu
WorkingDirectory=/home/ubuntu
ExecStart=/home/ubuntu/local/zrok/bin/zrok http frontend /home/ubuntu/.zrok/frontend.json
Restart=always
RestartSec=2
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target