diff --git a/add-service.md b/add-service.md new file mode 100644 index 000000000..a61f756c7 --- /dev/null +++ b/add-service.md @@ -0,0 +1,28 @@ +# add service + +- [[push]] [[systemd]] + - [[go]] https://www.maxlaumeister.com/u/run-ipfs-on-boot-ubuntu-debian/ + - create `example.service` in `/etc/system/system` + - `sudo systemctl start example` + - `sudo systemctl enable example` + +``` +[Unit] +Description=IPFS daemon +After=network.target + +[Service] +User=ipfs +Group=ipfs +ExecStart=/usr/local/bin/ipfs daemon +Restart=on-failure + +[Install] +WantedBy=default.target +``` + +[//begin]: # "Autogenerated link references for markdown compatibility" +[push]: push "Push" +[systemd]: systemd "Systemd" +[go]: go "Go" +[//end]: # "Autogenerated link references" \ No newline at end of file diff --git a/journal/2021-03-31.md b/journal/2021-03-31.md index 98889b8b8..549ed490f 100644 --- a/journal/2021-03-31.md +++ b/journal/2021-03-31.md @@ -3,6 +3,8 @@ - [[reading alexander]] tonight - read [[notsof]] - fix [[apl]] + - fix [[ttwob]] +- [[add service]] [//begin]: # "Autogenerated link references for markdown compatibility" [notsof]: ../notsof "Notsof" diff --git a/the-timeless-way-of-building.md b/the-timeless-way-of-building.md index e81b8d867..65a83bc21 100644 --- a/the-timeless-way-of-building.md +++ b/the-timeless-way-of-building.md @@ -3,13 +3,14 @@ - [[pull]] [[ttwob]] - a [[book]] - [[by]] [[christopher alexander]] -- [[ipfs]] QmZhvFuT6urnUG4pjJTDzmFWhTYkVpuzmJv4t9FvENLphs +- [[ipfs]] ipfs://QmZhvFuT6urnUG4pjJTDzmFWhTYkVpuzmJv4t9FvENLphs - [[old]] https://via.hypothes.is/ipfs.io/ipfs/QmZhvFuT6urnUG4pjJTDzmFWhTYkVpuzmJv4t9FvENLphs -- [[hypothesis]] https://via.hypothes.is/ipfs.io/ipfs/QmSAkc3VBwcV2KnETHj7rcJWRaD6Ba81ZJCdGtz1bXHBwM +- [[hypothesis]] https://via.hypothes.is/https://stoa.anagora.org/ipfs/QmZhvFuT6urnUG4pjJTDzmFWhTYkVpuzmJv4t9FvENLphs [//begin]: # "Autogenerated link references for markdown compatibility" [pull]: pull "Pull" +[ttwob]: ttwob "ttwob" [book]: book "Book" [christopher alexander]: christopher-alexander "Christopher Alexander" [ipfs]: ipfs "Ipfs" diff --git a/ttwob.md b/ttwob.md new file mode 100644 index 000000000..e1f88a0f6 --- /dev/null +++ b/ttwob.md @@ -0,0 +1,4 @@ +# ttwob + +- [[pull]] [[the-timeless-way-of-building]] +