guides:farming:chia_autostart_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
guides:farming:chia_autostart_linux [2021/12/10 20:53] – spacefarmer01 | guides:farming:chia_autostart_linux [2023/08/12 22:50] – [Step 1 - Create the Chia service] 172.68.4.132 | ||
---|---|---|---|
Line 7: | Line 7: | ||
Create the Chia service: '' | Create the Chia service: '' | ||
- | //Note: Replace {USERNAME} (3x) with the name of the user having Chia installed. | + | //Note: Replace {USERNAME} (2x) with the name of the user having Chia installed. |
//< | //< | ||
[Unit] | [Unit] | ||
Line 13: | Line 13: | ||
[Service] | [Service] | ||
Type=forking | Type=forking | ||
- | User={USERNAME} | + | User=ranger |
- | ExecStart=/home/{USERNAME}/ | + | WorkingDirectory=/home/ranger/ |
- | ExecStop=/home/{USERNAME}/chia-blockchain/ | + | ExecStart=/usr/bin/bash -c ". ./activate && |
+ | ExecStop=/usr/bin/bash -c ". ./activate && | ||
Restart=always | Restart=always | ||
[Install] | [Install] |
guides/farming/chia_autostart_linux.txt · Last modified: 2023/08/13 15:43 by vleesbanaan