mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 06:56:19 +00:00
e26cc36d7c
Will still revert journals to [[iso 8601]] after this commit.
25 lines
429 B
Markdown
25 lines
429 B
Markdown
# add service
|
|
|
|
- [[pull]] [[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
|
|
```
|
|
|
|
|