Contents

How to start and run ipfs-cluster-service daemon on Linux Mint using systemd

Contents
  1. First setup ipfs to run as service if you have not done so already this process will require ipfs service be running before it can start.

  2. Set up an ipfs user to run ipfs things as or run as another user, update the User in the .service file to the user you run the ipfs-cluster daemon as.

  3. Create a systemd script file /etc/systemd/system/ipfs-cluster.service with the following content:

[Unit]
Description=IPFS Cluster Service
After=network.target
Requires=ipfs.service

[Service]
ExecStart=/usr/local/bin/ipfs-cluster-service daemon
Restart=on-failure
User=ipfs

[Install]
WantedBy=multi-user.target
  1. Test run starting the ipfs-cluster-service using the service command.
   sudo systemctl start ipfs-cluster
  1. View the status
systemctl status ipfs-cluster

The output should look something like the following when running successfully.

● ipfs-cluster.service - IPFS Cluster Service
Loaded: loaded (/etc/systemd/system/ipfs-cluster.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2025-05-12 14:19:16 PDT; 33s ago
Main PID: 785789 (ipfs-cluster-se)
Tasks: 13 (limit: 18839)
Memory: 13.4M
CPU: 182ms
CGroup: /system.slice/ipfs-cluster.service
└─785789 /usr/local/bin/ipfs-cluster-service daemon
  1. Enable the service if all is looking good above.
   sudo systemctl enable ipfs-cluster

Conclusion

Now the ipfs-cluster service will run automatically at boot and after the ipfs.services has started.