about summary refs log tree commit diff
path: root/nix/.config/systemd/user/ipfs.service
diff options
context:
space:
mode:
Diffstat (limited to 'nix/.config/systemd/user/ipfs.service')
-rw-r--r--nix/.config/systemd/user/ipfs.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/nix/.config/systemd/user/ipfs.service b/nix/.config/systemd/user/ipfs.service
new file mode 100644
index 0000000..673a093
--- /dev/null
+++ b/nix/.config/systemd/user/ipfs.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=IPFS daemon
+After=network.target
+
+[Service]
+ExecStart=/run/current-system/sw/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target