mirror of
https://github.com/openziti/zrok.git
synced 2024-11-23 08:33:52 +01:00
17 lines
392 B
SYSTEMD
17 lines
392 B
SYSTEMD
|
[Unit]
|
||
|
Description=zrok reserved public share service
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
DynamicUser=yes
|
||
|
StateDirectory=zrok-share
|
||
|
UMask=0007
|
||
|
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
|