hive-view
aien-dev/hive-view
Brought by drakestapleton
hive-view / deploy / hive-view.service
| 1 | # hive-view: the hive dashboard (pure seeded Omega). Install: see README.md "Install". |
| 2 | [Unit] |
| 3 | Description=hive-view dashboard of every hive (127.0.0.1 and 100.64.0.2, port 18190) |
| 4 | After=network-online.target |
| 5 | StartLimitIntervalSec=0 |
| 6 | |
| 7 | [Service] |
| 8 | Type=simple |
| 9 | WorkingDirectory=%h/.local/share/hive-view/web |
| 10 | ExecStart=%h/.local/share/hive-view/server serve %t/hive-view 18190 127.0.0.1 100.64.0.2 |
| 11 | RuntimeDirectory=hive-view |
| 12 | RuntimeDirectoryMode=0700 |
| 13 | StateDirectory=hive-view |
| 14 | StateDirectoryMode=0700 |
| 15 | Nice=10 |
| 16 | CPUAffinity=0 1 2 |
| 17 | Restart=on-failure |
| 18 | RestartSec=10 |
| 19 | UMask=0077 |
| 20 | NoNewPrivileges=yes |
| 21 | |
| 22 | [Install] |
| 23 | WantedBy=default.target |