From 7a99a87b87ba2e6ab006032eb1687d61d01d9c58 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 6 Dec 2019 20:11:00 +0700 Subject: Update 2019-12-06 --- debian/.config/systemd/user/default.target.wants/emacs.service | 1 + debian/.config/systemd/user/default.target.wants/ipfs.service | 1 + debian/.config/systemd/user/ipfs.service | 10 ++++++++++ 3 files changed, 12 insertions(+) create mode 120000 debian/.config/systemd/user/default.target.wants/emacs.service create mode 120000 debian/.config/systemd/user/default.target.wants/ipfs.service create mode 100644 debian/.config/systemd/user/ipfs.service (limited to 'debian/.config/systemd') 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 -- cgit 1.4.1