Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
IPFSのdaemonの起動用のサービスユニットファイルのコード例。
[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