mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-10 12:01:56 -05:00
27 lines
830 B
Markdown
27 lines
830 B
Markdown
# Periphery setup script
|
||
|
||
There's two ways to install periphery: `System` and `User`
|
||
|
||
## System (requires root)
|
||
|
||
Note. Run this after switching to root user (eg `sudo su -`).
|
||
|
||
```sh
|
||
curl -sSL https://raw.githubusercontent.com/mbecker20/monitor/main/scripts/setup-periphery.py | python3
|
||
```
|
||
|
||
Will install to paths:
|
||
- periphery (binary) -> `/usr/local/bin/periphery`
|
||
- periphery.service -> `/etc/systemd/system/periphery.service`
|
||
- periphery.config.toml -> `/etc/monitor/periphery.config.toml`
|
||
|
||
## User
|
||
|
||
```sh
|
||
curl -sSL https://raw.githubusercontent.com/mbecker20/monitor/main/scripts/setup-periphery.py | python3 - --user
|
||
```
|
||
|
||
Will install to paths:
|
||
- periphery (binary) -> $HOME/.local/bin
|
||
- periphery.service -> $HOME/.config/systemd/user/periphery.service
|
||
- periphery.config.toml -> $HOME/.config/monitor/periphery.config.toml |