mirror of
https://github.com/openziti/zrok.git
synced 2025-01-03 20:49:13 +01:00
systemd unit tweaks (#44)
This commit is contained in:
parent
bf984a8fb2
commit
e77b8ad2a4
@ -13,3 +13,4 @@ Environment="PFXLOG_NO_JSON=true"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
@ -9,6 +9,7 @@ ExecStart=/home/ubuntu/local/zrok/bin/zrok ctrl /home/ubuntu/local/etc/zrok.io/z
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
LimitNOFILE=65535
|
||||
Environment="PFXLOG_NO_JSON=true"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,10 +5,11 @@ After=network.target
|
||||
[Service]
|
||||
User=ubuntu
|
||||
WorkingDirectory=/home/ubuntu
|
||||
ExecStart=/home/ubuntu/local/zrok/bin/zrok http frontend /home/ubuntu/.zrok/frontend.json
|
||||
ExecStart=/home/ubuntu/local/zrok/bin/zrok http frontend -e 0.0.0.0:8080 /home/ubuntu/.zrok/frontend.json
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
LimitNOFILE=65535
|
||||
Environment="PFXLOG_NO_JSON=true"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user