IPFSのdaemonの起動用のサービスユニットファイルのコード例。
This file contains 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
[Unit] | |
Description=Ipfs | |
After=network-online.target | |
[Service] | |
User=panda | |
WorkingDirectory=/home/panda | |
OOMScoreAdjust=-1000 | |
ExecStart=/usr/local/bin/ipfs daemon --enable-gc --enable-namesys-pubsub | |
ExecStop=/usr/bin/pkill --signal SIGINT ipfs | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment