about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-02-17 16:27:10 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-02-17 16:27:10 +0700
commit23698b275c7ff0e57f9a9ee497c4647034ccdc2a (patch)
treec200c543c87cfbd5d6b0a3d0b4c644d32d15c420
parent136db4319e79b459d47eca3c7dc11da1845d310f (diff)
downloaddotfiles-23698b275c7ff0e57f9a9ee497c4647034ccdc2a.tar.gz
Update 2018-02-17
l---------meta/.config/systemd/user/default.target.wants/ipfs.service1
-rw-r--r--meta/.config/systemd/user/ipfs.service10
2 files changed, 11 insertions, 0 deletions
diff --git a/meta/.config/systemd/user/default.target.wants/ipfs.service b/meta/.config/systemd/user/default.target.wants/ipfs.service
new file mode 120000
index 0000000..c6e8f95
--- /dev/null
+++ b/meta/.config/systemd/user/default.target.wants/ipfs.service
@@ -0,0 +1 @@
+/home/cnx/.config/systemd/user/ipfs.service
\ No newline at end of file
diff --git a/meta/.config/systemd/user/ipfs.service b/meta/.config/systemd/user/ipfs.service
new file mode 100644
index 0000000..26edbb2
--- /dev/null
+++ b/meta/.config/systemd/user/ipfs.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=IPFS daemon
+After=network.target
+
+[Service]
+ExecStart=/home/cnx/.local/share/go/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target