debugged ziti-ctrl.service and ziti-router0.service (#44)

This commit is contained in:
Michael Quigley 2022-09-06 13:16:38 -04:00
parent f90dc659b6
commit bf984a8fb2
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 5 additions and 3 deletions

View File

@ -5,10 +5,11 @@ After=network.target
[Service]
User=ubuntu
WorkingDirectory=/home/ubuntu
ExecStart=/home/ubuntu/local/ziti/ziti-controller run /home/ubuntu/local/etc/zrok.io/ziti-ctrl.yml
ExecStart=/home/ubuntu/local/ziti/bin/ziti-controller run /home/ubuntu/local/etc/zrok.io/ziti-ctrl.yml
Restart=always
RestartSec=2
LimitNOFILE=65535
Environment="PFXLOG_NO_JSON=true"
[Install]
WantedBy=multi-user.target

View File

@ -1,14 +1,15 @@
[Unit]
Description=ziti-router0
After=network.target
After=ziti-ctrl
[Service]
User=ubuntu
WorkingDirectory=/home/ubuntu
ExecStart=/home/ubuntu/local/ziti/ziti-router run /home/ubuntu/local/etc/zrok.io/ziti-router0.yml
ExecStart=/home/ubuntu/local/ziti/bin/ziti-router run /home/ubuntu/local/etc/zrok.io/ziti-router0.yml
Restart=always
RestartSec=2
LimitNOFILE=65535
Environment="PFXLOG_NO_JSON=true"
[Install]
WantedBy=multi-user.target