This commit is contained in:
parent
914a774113
commit
520fe3352b
@ -1,9 +1,9 @@
|
|||||||
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
# --init# {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=ipfs p2p daemon
|
Description=ipfs p2p daemon
|
||||||
After=network.target
|
After=network.target
|
||||||
Requires=network.target
|
Requires=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=ipfs
|
User=ipfs
|
||||||
@ -13,9 +13,9 @@ PermissionsStartOnly=true
|
|||||||
Nice=18
|
Nice=18
|
||||||
LimitNOFILE=8192
|
LimitNOFILE=8192
|
||||||
Environment=IPFS_FD_MAX=8192
|
Environment=IPFS_FD_MAX=8192
|
||||||
EnvironmentFile=-/etc/sysconfig/ipfs
|
EnvironmentFile=-/etc/default/ipfs
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
ExecStart=/usr/local/sbin/ipfs daemon
|
ExecStart=/usr/local/sbin/ipfs daemon
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user