From 23698b275c7ff0e57f9a9ee497c4647034ccdc2a Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sat, 17 Feb 2018 16:27:10 +0700 Subject: Update 2018-02-17 --- meta/.config/systemd/user/default.target.wants/ipfs.service | 1 + meta/.config/systemd/user/ipfs.service | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 120000 meta/.config/systemd/user/default.target.wants/ipfs.service create mode 100644 meta/.config/systemd/user/ipfs.service (limited to 'meta/.config/systemd/user') 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 -- cgit 1.4.1