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]
|
||||
Description=ipfs p2p daemon
|
||||
After=network.target
|
||||
Requires=network.target
|
||||
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=ipfs
|
||||
@ -13,9 +13,9 @@ PermissionsStartOnly=true
|
||||
Nice=18
|
||||
LimitNOFILE=8192
|
||||
Environment=IPFS_FD_MAX=8192
|
||||
EnvironmentFile=-/etc/sysconfig/ipfs
|
||||
EnvironmentFile=-/etc/default/ipfs
|
||||
StandardOutput=journal
|
||||
ExecStart=/usr/local/sbin/ipfs daemon
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user