about summary refs log tree commit diff
path: root/debian/.config/systemd
diff options
context:
space:
mode:
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