8
0
mirror of https://github.com/key-networks/ztncui.git synced 2024-08-31 04:28:00 +00:00

RPM/DEB scripts and systemd service file

This commit is contained in:
Key Networks
2018-01-05 11:36:55 +08:00
parent d8174f3b5b
commit 04c3d55227
8 changed files with 38 additions and 16 deletions

14
build/ztncui.service Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=ztncui - ZeroTier network controller user interface
Documentation=https://key-networks.com
After=network.target
[Service]
Type=simple
User=ztncui
WorkingDirectory=/opt/key-networks/ztncui
ExecStart=/opt/key-networks/ztncui/ztncui
Restart=on-failure
[Install]
WantedBy=multi-user.target