mirror of
https://github.com/openziti/zrok.git
synced 2024-11-25 09:33:43 +01:00
18 lines
424 B
SYSTEMD
18 lines
424 B
SYSTEMD
|
[Unit]
|
||
|
Description=zrok reserved public share service
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
DynamicUser=yes
|
||
|
StateDirectory=zrok-share
|
||
|
UMask=0007
|
||
|
Environment=PFXLOG_NO_JSON=true
|
||
|
ExecStartPre=/opt/openziti/bin/zrok-enable.bash /opt/openziti/etc/zrok/zrok-share.env
|
||
|
ExecStart=/opt/openziti/bin/zrok-share.bash /opt/openziti/etc/zrok/zrok-share.env
|
||
|
Restart=always
|
||
|
RestartSec=3
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|