zrok/nfpm/zrok-share.service
2023-11-15 16:10:19 -05:00

18 lines
424 B
Desktop File

[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