This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://www.viafitness.com/files/viafit_time_zones.pdf | |
| env TZ='Asia/Shanghai' node |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/lotus-worker-c2.service | |
| [Unit] | |
| Description=Lotus C2 Worker Service | |
| After=network.target | |
| [Service] | |
| User=lotus # or any other user | |
| ExecStart=/usr/local/bin/lotus-worker run --no-local-storage --addpiece=false --precommit1=false --unseal=false --precommit2=false --commit=true --parallel-fetch-limit 10 --listen 192.168.88.105:3458 | |
| Restart=always | |
| RestartSec=10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/lotus-daemin.service | |
| [Unit] | |
| Description=Lotus Daemon Service | |
| After=network-online.target | |
| Requires=network-online.target | |
| [Service] | |
| User=lotus # or any other user | |
| ExecStart=/usr/local/bin/lotus daemon | |
| ExecStop=/usr/local/bin/lotus daemon stop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/lotus-miner.service | |
| [Unit] | |
| Description=Lotus Miner Service | |
| After=network.target | |
| After=lotus-daemon.service | |
| Wants=lotus-daemon.service | |
| [Service] | |
| User=lotus # or any other user | |
| ExecStart=/usr/local/bin/lotus-miner run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/lotus-worker-pc2.service | |
| [Unit] | |
| Description=Lotus PC2 Worker Service | |
| After=network.target | |
| [Service] | |
| User=lotus # or any other user | |
| ExecStart=/usr/local/bin/lotus-worker run --no-local-storage --addpiece=false --precommit1=false --unseal=false --precommit2=true --commit=false --parallel-fetch-limit 10 --listen 192.168.88.102:3456 | |
| Restart=always | |
| RestartSec=10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/lotus-worker-pc1.service | |
| [Unit] | |
| Description=Lotus PC1 Worker Service | |
| After=network.target | |
| [Service] | |
| User=lotus # or any other user | |
| ExecStart=/usr/local/bin/lotus-worker run --no-local-storage --addpiece=false --precommit1=true --unseal=true --precommit2=false --commit=false --parallel-fetch-limit 10 --listen 192.168.88.106:3456 | |
| Restart=always | |
| RestartSec=10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| declare(strict_types=1); | |
| namespace org; | |
| /** | |
| * Class InviteCode | |
| * 邀请码生成类 | |
| * @link https://gist.github.com/guanguans/52b9136e86c1a86ab0d51747e841537d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| *============================ | |
| * author:Farmer | |
| * time:2017/12/19 | |
| * blog:blog.icodef.com | |
| * function:加密方式 | |
| *============================ | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| # Basic NGINX site setup | |
| listen 80; | |
| server_name yourwebsite.com; | |
| # Location where X3 is installed | |
| root /var/www/yourwebsite; | |
| # index.php as index |