Skip to content

Instantly share code, notes, and snippets.

@aleohl
Created July 7, 2021 04:23
Show Gist options
  • Save aleohl/3a7a5fed2d0112bbe2a24b37d026413d to your computer and use it in GitHub Desktop.
Save aleohl/3a7a5fed2d0112bbe2a24b37d026413d to your computer and use it in GitHub Desktop.
Chiadog + Chia Harvester Systemd Units
[Unit]
Description=Chia Harvester
After=network.target
[Service]
Type=simple
User=chia
ExecStart=/home/chia/chia-blockchain/venv/bin/chia_harvester
Restart=on-failure
[Install]
WantedBy=multi-user.target
[Unit]
Description=Chiadog
After=network.target
[Service]
Type=simple
User=chia
ExecStart=/home/chia/chiadog/venv/bin/python3 main.py --config /home/chia/chiadog/config.yaml
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment