about summary refs log tree commit diff
path: root/debian/.config/systemd
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-12-06 20:11:00 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-12-06 20:11:00 +0700
commit7a99a87b87ba2e6ab006032eb1687d61d01d9c58 (patch)
tree21cda208ad8e92448943a0efabb7672a68cc3f21 /debian/.config/systemd
parent4aeb2084faf18d7eb31d442651086504d87576e9 (diff)
downloaddotfiles-7a99a87b87ba2e6ab006032eb1687d61d01d9c58.tar.gz
Update 2019-12-06
Diffstat (limited to 'debian/.config/systemd')
l---------debian/.config/systemd/user/default.target.wants/emacs.service1
l---------debian/.config/systemd/user/default.target.wants/ipfs.service1
-rw-r--r--debian/.config/systemd/user/ipfs.service10
3 files changed, 12 insertions, 0 deletions
diff --git a/debian/.config/systemd/user/default.target.wants/emacs.service b/debian/.config/systemd/user/default.target.wants/emacs.service
new file mode 120000
index 0000000..003173b
--- /dev/null
+++ b/debian/.config/systemd/user/default.target.wants/emacs.service
@@ -0,0 +1 @@
+/usr/lib/systemd/user/emacs.service
\ No newline at end of file
diff --git a/debian/.config/systemd/user/default.target.wants/ipfs.service b/debian/.config/systemd/user/default.target.wants/ipfs.service
new file mode 120000
index 0000000..c6e8f95
--- /dev/null
+++ b/debian/.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/debian/.config/systemd/user/ipfs.service b/debian/.config/systemd/user/ipfs.service
new file mode 100644
index 0000000..26edbb2
--- /dev/null
+++ b/debian/.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