systemd unit tweaks (#44)

This commit is contained in:
Michael Quigley 2022-09-06 13:32:57 -04:00
parent bf984a8fb2
commit e77b8ad2a4
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
3 changed files with 4 additions and 1 deletions

View File

@ -13,3 +13,4 @@ Environment="PFXLOG_NO_JSON=true"
[Install]
WantedBy=multi-user.target

View File

@ -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

View File

@ -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