guides:farming:chia_autostart_linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guides:farming:chia_autostart_linux [2021/12/10 20:53] – spacefarmer01 | guides:farming:chia_autostart_linux [2023/08/13 15:43] (current) – old revision restored vleesbanaan | ||
|---|---|---|---|
| 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 14: | Line 14: | ||
| Type=forking | Type=forking | ||
| User={USERNAME} | User={USERNAME} | ||
| - | ExecStart=/ | + | WorkingDirectory=/ |
| - | 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.1639169608.txt.gz · Last modified: by spacefarmer01
