21 lines
429 B
Django/Jinja
21 lines
429 B
Django/Jinja
# --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
|
|
RestartSec=1
|
|
Restart=always
|
|
PermissionsStartOnly=true
|
|
Nice=18
|
|
LimitNOFILE=8192
|
|
Environment=IPFS_FD_MAX=8192
|
|
EnvironmentFile=-/etc/default/ipfs
|
|
StandardOutput=journal
|
|
ExecStart=/usr/local/sbin/ipfs daemon
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |