File tree 1 file changed +1
-28
lines changed
1 file changed +1
-28
lines changed Original file line number Diff line number Diff line change 1
- <<<<<<< HEAD
2
- # This file will be overwritten on package upgrades, avoid customizations here.
3
- #
4
- # To make persistant changes, create file in
5
- # "/etc/systemd/system/ipfs.service.d/overwrite.conf" with
6
- # `systemctl edit ipfs.service`. This file will be parsed after this
7
- # file has been parsed.
8
- #
9
- # To overwrite a variable, like ExecStart you have to specify it once
10
- # blank and a second time with a new value, like:
11
- # ExecStart=
12
- # ExecStart=/usr/bin/ipfs daemon --flag1 --flag2
13
- #
14
- # For more info about custom unit files see systemd.unit(5).
15
-
16
1
[Unit]
17
2
Description =InterPlanetary File System (IPFS) daemon
18
- Documentation =https://docs.ipfs.io/
19
3
After =network.target
20
4
21
5
[Service]
@@ -27,23 +11,12 @@ After=network.target
27
11
# enable to specify a higher limit for open files/connections
28
12
#LimitNOFILE=1000000
29
13
30
- #don't use swap
31
- MemorySwapMax =0
32
-
33
14
Type =notify
34
15
User =ipfs
35
16
Group =ipfs
36
- StateDirectory = ipfs
17
+ WorkingDirectory =/var/lib/ ipfs
37
18
ExecStart =/usr/bin/ipfs daemon --init --migrate
38
19
Restart =on-failure
39
- =======
40
- [Unit]
41
- Description =IPFS Daemon
42
-
43
- [Service]
44
- Type =notify
45
- ExecStart =/usr/bin/ipfs daemon --init --migrate
46
- >>>>>>> implement systemd socket activation
47
20
KillSignal =SIGINT
48
21
49
22
[Install]
You can’t perform that action at this time.
0 commit comments